remove output to set OpenAI API key in config.py
parent
0ba2956ee4
commit
1da9dbe671
|
@ -26,7 +26,7 @@ def check_openai_api_key():
|
|||
if not cfg.openai_api_key:
|
||||
print(
|
||||
Fore.RED +
|
||||
"Please set your OpenAI API key in config.py or as an environment variable."
|
||||
"Please set your OpenAI API key in .env or as an environment variable."
|
||||
)
|
||||
print("You can get your key from https://beta.openai.com/account/api-keys")
|
||||
exit(1)
|
||||
|
|
Loading…
Reference in New Issue