Comments (3)
Thanks for submitting this Nathan,
It is indeed possible and a good idea, adding it to the to-do list!
from auto-gpt.
I think I found the fix:
in chat.py
try:
# your code that sends requests to OpenAI
return assistant_reply
except openai.error.RateLimitError:
print("Error: ", "API Rate Limit Reached. Waiting 60 seconds...")
time.sleep(60)
Basically just switching form openai.RateLimitError to openai.error.RateLimitError
from auto-gpt.
Thank you very much :)
from auto-gpt.
Related Issues (20)
- Personal access token "failed to validate"
- [Errno 2] No such file or directory: 'requirements.txt' HOT 3
- My AutoGPT keeps delivering empty answers HOT 3
- Sign in with Google : Error 400: redirect_uri_mismatch HOT 7
- Failed to validate Github access token HOT 2
- I can't configure git user: Git user is not configured HOT 3
- Investigate and Fix issue with file upload for GCS File Backend HOT 1
- can't create agent name with dash in it, even tho it is supported according to the cli HOT 4
- keep versioned docs please HOT 4
- Why does red b'HEAD' appear when using poetry install to install dependencies? HOT 2
- I'm following the quickstart guide and it says setup.sh doesn't exist HOT 6
- Sign in with GitHUB error (also with Google) HOT 5
- Auto-label PRs based on paths in diff HOT 1
- Token length issue in AutoGPT with error "Please reduce the length of the messages or completion." HOT 3
- read_webpage raised an error: 'AssistantChatMessage' object is not subscriptable HOT 3
- Auto GPT HOT 1
- Cannot use custom endpoint HOT 3
- Object/Schema Definitions HOT 2
- Can't start agent: http://0.0.0.0:8080 leads to 404 not found
- follow a guide and the command ./run setup doesn't produce any output or error messages HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-gpt.