Skip to content

Commit

Permalink
add hint where to create an API Key
Browse files Browse the repository at this point in the history
  • Loading branch information
oltoko committed Sep 1, 2024
1 parent 5ccbf51 commit 13f4b51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pub fn load() -> Result<ManGPTConfig, Box<dyn std::error::Error>> {
fn create_config_file(
config_file_path: &std::path::PathBuf,
) -> Result<(), Box<dyn std::error::Error>> {
println!("You can create an OpenAI API-Key in your account https://platform.openai.com/api-keys");
let api_key = rpassword::prompt_password("Please Enter your OpenAI API-Key: ")?;

let config = ManGPTConfig {
Expand Down

0 comments on commit 13f4b51

Please sign in to comment.