Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

remove output to set OpenAI API key in config.py

fabi.s1da9dbe671fb
diff --git a/scripts/main.py b/scripts/main.py
index 68f9d10c31..c08ba1b292 100644
--- a/scripts/main.py
+++ b/scripts/main.py
@@ -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)