Merge pull request #1148 from ezzcodeezzlife/master

remove output to set OpenAI API key in config.py
This commit is contained in:
Richard Beales
2023-04-13 18:24:58 +01:00
committed by GitHub

View File

@@ -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)