From 376ecf0c5f1180739b94b68b4ee5cdcd7dca2f09 Mon Sep 17 00:00:00 2001 From: GECORegulatory <121075828+GECORegulatory@users.noreply.github.com> Date: Fri, 14 Jul 2023 12:24:49 -0400 Subject: [PATCH] Replaced Fictitious color name Fore.ORANGE (#4972) Changed Colorama.Fore.ORANGE to YELLOW in config.py, As Colorama does not support an ORANGE color. This fixes a fatal error in run.sh when trying to set the API key through the input() method. Co-authored-by: James Collins --- autogpt/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt/config/config.py b/autogpt/config/config.py index ae2f7bed..cb3f26d3 100644 --- a/autogpt/config/config.py +++ b/autogpt/config/config.py @@ -367,7 +367,7 @@ def check_openai_api_key(config: Config) -> None: print( Fore.GREEN + "OpenAI API key successfully set!\n" - + Fore.ORANGE + + Fore.YELLOW + "NOTE: The API key you've set is only temporary.\n" + "For longer sessions, please set it in .env file" + Fore.RESET