From 1772a01d0440f7a8f98d2b8b7bc16fda5833ffe8 Mon Sep 17 00:00:00 2001 From: Johnny C <3631074+gantit@users.noreply.github.com> Date: Thu, 27 Apr 2023 23:43:56 +0200 Subject: [PATCH] Fix URL to docs in API throttling message (#3201) Co-authored-by: Reinier van der Leer --- autogpt/llm_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogpt/llm_utils.py b/autogpt/llm_utils.py index a98b12a3..11f8da3a 100644 --- a/autogpt/llm_utils.py +++ b/autogpt/llm_utils.py @@ -30,7 +30,7 @@ def retry_openai_api( api_key_error_msg = ( f"Please double check that you have setup a " f"{Fore.CYAN + Style.BRIGHT}PAID{Style.RESET_ALL} OpenAI API Account. You can " - f"read more here: {Fore.CYAN}https://github.com/Significant-Gravitas/Auto-GPT#openai-api-keys-configuration{Fore.RESET}" + f"read more here: {Fore.CYAN}https://significant-gravitas.github.io/Auto-GPT/setup/#getting-an-api-key{Fore.RESET}" ) backoff_msg = ( f"{Fore.RED}Error: API Bad gateway. Waiting {{backoff}} seconds...{Fore.RESET}" @@ -176,7 +176,7 @@ def create_chat_completion( if not warned_user: logger.double_check( f"Please double check that you have setup a {Fore.CYAN + Style.BRIGHT}PAID{Style.RESET_ALL} OpenAI API Account. " - + f"You can read more here: {Fore.CYAN}https://github.com/Significant-Gravitas/Auto-GPT#openai-api-keys-configuration{Fore.RESET}" + + f"You can read more here: {Fore.CYAN}https://significant-gravitas.github.io/Auto-GPT/setup/#getting-an-api-key{Fore.RESET}" ) warned_user = True except (APIError, Timeout) as e: