Fix linter issues

This commit is contained in:
Eesa Hamza
2023-04-16 22:16:43 +03:00
parent 9b6bce4592
commit 2d24876530

View File

@@ -123,7 +123,7 @@ def create_chat_completion(
time.sleep(backoff) time.sleep(backoff)
if response is None: if response is None:
logger.typewriter_log( logger.typewriter_log(
"FAILED TO GET RESPONSE FROM OPENAI", "FAILED TO GET RESPONSE FROM OPENAI",
Fore.RED, Fore.RED,
"Auto-GPT has failed to get a response from OpenAI's services. " + "Auto-GPT has failed to get a response from OpenAI's services. " +
f"Try running Auto-GPT again, and if the problem the persists try running it with `{Fore.CYAN}--debug{Fore.RESET}`." f"Try running Auto-GPT again, and if the problem the persists try running it with `{Fore.CYAN}--debug{Fore.RESET}`."