Closed AbdelkarimDouadjia closed 1 year ago
facing the same issue
Does the occur every time you execute py scripts/main.py
?
im getting it every time I execute py scripts/main.py --- seems like a code error somewhere in the new update
You might be getting rate limited? Or have bad internet connection?
I'll look into it.
no the internet connection is good,So i think the problem is on the new update
I am seeing exactly the same thing.
If you run python -m autogpt --debug
what does it show you @AbdelkarimDouadjia ?
I also have this problem, which cannot be avoided after trying many times
To everyone here try running python -m autogpt --debug
(or python main/scripts --debug
).
However the issue is that you most likely have not set up a paid OpenAI API account.
Here's OAI's API Pricing: https://openai.com/pricing Here's where you can setup billing for your account: https://platform.openai.com/account/billing/overview
Yes, The problem is that I don't set up a paid OpenAI API account.
Duplicates
Steps to reproduce 🕹
Warning: The file 'auto-gpt.json' does not exist. Local memory would not be saved to a file. Using memory of type: LocalCache Traceback (most recent call last): File "F:\AutoGPT\Auto-GPT\scripts\main.py", line 441, in
main()
File "F:\AutoGPT\Auto-GPT\scripts\main.py", line 304, in main
agent.start_interaction_loop()
File "F:\AutoGPT\Auto-GPT\scripts\main.py", line 345, in start_interaction_loop
assistant_reply = chat.chat_with_ai(
File "F:\AutoGPT\Auto-GPT\scripts\chat.py", line 126, in chat_with_ai
assistant_reply = create_chat_completion(
File "F:\AutoGPT\Auto-GPT\scripts\llm_utils.py", line 50, in create_chat_completion
raise RuntimeError("Failed to get response after 5 retries")
RuntimeError: Failed to get response after 5 retries
Current behavior 😯
No response
Expected behavior 🤔
No response
Your prompt 📝