-
Notifications
You must be signed in to change notification settings - Fork 44.2k
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 #1189
Comments
run python scripts/main.py --debug and check the results |
+1 I followed the same instructions from this YouTube (https://www.youtube.com/watch?v=7On7vRBGz78 ) but kept seeing this error- RuntimeError: Failed to get response after 5 retries |
----------- END OF CONTEXT ---------------- |
You need a paid account in OpenAI, fixed for me |
I have a paid account. And I still get the same errors as people above
|
There is a paid ChatGPT account and there is a paid OpenAI API account. You need to have the second one. |
I know, I have both of them :( |
says its $5 a month depending on usage, I understand that Auto-GPT requires a lot of that usage, is it expensive to use then? |
If you have a paid open-ai account (not ChatGPT pro) then you’ll need to check things like your monthly token limit or your payment method on open-ai’s site. Confirm you have available tokens. |
Have you checked that the account has a credit / debit card added and that you havent got any limits set in your open ai playground account. You may have set a limit? Also if you use a google account to login, i've seen comments saying this could cause a limit issue. |
if you use gpt4 it can get very costly yes |
Same issue, I have a paid OpenAI API acc but still got the issue. Update: I start a new terminal and it works now. |
Made a PR #1304 to make it clear in the README that one has to opt in to the OpenAI's paid account (and add billing info) for the OpenAI's API key to work, which seems to be a common cause for the |
Thank you for making the PR - however, I've had the OpenAI paid account (with $120 usage limit) and still continue to get the same error. I have also tried to generate a new API key twice now - same issue. |
Why has this happened? Yesterday I ran auto-gpt just fine without a paid account. |
Traceback (most recent call last): The above is the Runtime error I receive. What is the solution? |
There's an issue of one OpenAI API key in the shell environment and a second one in the .env file, and the code is using the first one. We should print the first few characters of the license key to console to avoid this. |
This can use some love:
|
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days. |
This issue was closed automatically because it has been stale for 10 days with no activity. |
Duplicates
Steps to reproduce 🕹
I am on Mac.
No problem with the installation process, very smooth. I followed the instructions and input my openai api key as well as pinecone api key and region code.
I managed to start the agent and gone as far as entering the 5 goals.
It gave me a warning of no auto-gpt.json, believe it is not a big deal.
However after a minute of waiting, it reports
RuntimeError: Failed to get response after 5 retries
what is it and why do I get it?
Current behavior 😯
No response
Expected behavior 🤔
No response
Your prompt 📝
# Paste your prompt here
The text was updated successfully, but these errors were encountered: