From 140fd6f3bfc0f0a6d38d7f513396a074026aa5f4 Mon Sep 17 00:00:00 2001 From: Lawrence Neal Date: Mon, 24 Apr 2023 21:32:59 -0700 Subject: [PATCH] Ensure Fore.RED is followed by Fore.RESET (#3182) This properly resets the terminal, ensuring that the red text is red and the normal text remains unaffected. Co-authored-by: Richard Beales --- autogpt/config/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autogpt/config/config.py b/autogpt/config/config.py index 101f2919..9de7fe70 100644 --- a/autogpt/config/config.py +++ b/autogpt/config/config.py @@ -277,6 +277,7 @@ def check_openai_api_key() -> None: print( Fore.RED + "Please set your OpenAI API key in .env or as an environment variable." + + Fore.RESET ) print("You can get your key from https://platform.openai.com/account/api-keys") exit(1)