Skip to content
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

Rate limit exceeded error - Any way to set the rate limit ? #10

Open
prabha-git opened this issue Jan 29, 2024 · 3 comments
Open

Rate limit exceeded error - Any way to set the rate limit ? #10

prabha-git opened this issue Jan 29, 2024 · 3 comments

Comments

@prabha-git
Copy link

raise self._make_status_error_from_response(err.response) from None

openai.RateLimitError: Error code: 429 - {'error': {'message': 'Rate limit reached for gpt-4 in organization org-********** on tokens per min (TPM): Limit 10000, Used 9348, Requested 5086. Please try again in 26.604s. Visit https://platform.openai.com/account/rate-limits to learn more.', 'type': 'tokens', 'param': None, 'code': 'rate_limit_exceeded'}}

@ciconsulting
Copy link

I had the same problem, several times. I attributed it to having only a tier 1 API account.

@1x-eng
Copy link

1x-eng commented Feb 3, 2024

It's an interesting project, but it needs a fix for the above-mentioned "Rate limit reached" error. Understandably, this depends on the API user's tier account, but if this is made obvious via configuration or by limiting the number of topics, etc., it'll lead to better UX.

@rotemweiss57
Copy link
Owner

Hi all. I agree and will work on a better approach. Feel free to contribute!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants