digitalocean / digitalocean/langchain-gradient
Add Rate Limiting
Open
- Dominant language
- Python
- Stars
- 15
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Making many rapid API calls causes "429 Too Many Requests" errors around the 61st request, causing failures.
I can implement this with:
Token bucket algorithm
Thread-safe using locks
Configurable limits
Full tests and docs
I would like to work on this, Can you assign this to me?
Contributor guide
Assessment
This issue has not been assessed yet.