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.
Update chat.py
Andres Caicedo9699a1ca78a1
diff --git a/scripts/chat.py b/scripts/chat.pyindex dd52e784ee..17e36879ed 100644--- a/scripts/chat.py+++ b/scripts/chat.py@@ -1,4 +1,4 @@-import time+from time import sleepimport openaifrom dotenv import load_dotenvfrom config import Config@@ -130,4 +130,4 @@ def chat_with_ai(except openai.error.RateLimitError:# TODO: WHen we switch to langchain, this is built inprint("Error: ", "API Rate Limit Reached. Waiting 10 seconds...")- time.sleep(10)+ sleep(10)