digitalocean / digitalocean/langchain-gradient

Add Rate Limiting

Open
#13 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.