-
Notifications
You must be signed in to change notification settings - Fork 44.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Failed to get response after 5 retries #1262
Comments
Even am facing the similar issue. |
this is unrelated. You can switch to redis storage or just ignore this for now. Edit: I just added my credit card to my OpenAPI key and still hit the rate limiting. So maybe something is buggy right now. |
The openai-api key problem? |
Fix:
|
@sumedh1996 |
Can't I use it without a paying account? Is there any other way |
Duplicate of #1189. @DevanandhS would you close this one issue if it indeed is the same thing? (I had this issue too - It's that haven't opted into "paid account" on OpenAI's billing page. The auto-gpt.json is a red herring - it's a last messag we see, but it's unrelated to the API limit reached, the script can work without the auto-gpt.json) I'm making an MR as we speak to update the README section on OpenAI's API key, to make this clear. |
Thanks ... upgrading to paid works for me |
This is a python error resulting from incorrect implementation of data ( replace() ) manipulation methods on particular data structures (json) |
Perfect, you mentioned that the code needs to be modified. Do you have any ideas on which file needs to be modified and what code needs to be added? Thank you. |
so someone found how to solve it without a paid account ? |
I have a paid API account but still having the error, someone can help? |
I also have a paid API account but get the same error. |
Duplicates
Steps to reproduce 🕹
python scripts/main.py --continuous
Current behavior 😯
No response
Expected behavior 🤔
No response
Your prompt 📝
python scripts/main.py --continuous
Continuous Mode: ENABLED
WARNING: Continuous mode is not recommended. It is potentially dangerous and may cause your AI to run forever or carry out actions you would not usually authorise. Use at your own risk.
Welcome back! Would you like me to return to being mega gpt?
Continue with the last settings?
Name: mega gpt
Role: surfing web for latest news in python programming, technology and ai.
Goals: ['surf the web for information on latest python programming articles and ai.', 'analyse the trends', 'give suggestive topics in which the articles can be written']
Continue (y/n): y
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 "E:\AutoGPT\Auto-GPT\scripts\main.py", line 461, in
main()
File "E:\AutoGPT\Auto-GPT\scripts\main.py", line 365, in main
assistant_reply = chat.chat_with_ai(
File "E:\AutoGPT\Auto-GPT\scripts\chat.py", line 126, in chat_with_ai
assistant_reply = create_chat_completion(
File "E:\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
The text was updated successfully, but these errors were encountered: