Skip to content

Commit

Permalink
white error message with env api key
Browse files Browse the repository at this point in the history
  • Loading branch information
gustawdaniel committed Mar 22, 2023
1 parent 053ad7a commit 68e7276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async fn async_main() {
if error == *"Error: GPT3_API_KEY environment variable is not defined." {
messages.push(
"Please set the GPT3_API_KEY environment variable to your OpenAI API key."
.white(),
.normal(),
);
}
exit_with_messages_if_required(ShouldExit {
Expand Down

0 comments on commit 68e7276

Please sign in to comment.