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

Should not crash from running out of money #1297

Open
endolith opened this issue Jun 8, 2024 · 0 comments · Fixed by #1349
Open

Should not crash from running out of money #1297

endolith opened this issue Jun 8, 2024 · 0 comments · Fixed by #1349

Comments

@endolith
Copy link

endolith commented Jun 8, 2024

Describe the bug

Crashes when OpenAI account runs out of money

Reproduce

Use Open Interpreter when there is little money in account until it runs out.

Expected behavior

Should print the error message without crashing or dropping the conversation, so you can replenish account and continue.

Screenshots

    raise RateLimitError(
litellm.exceptions.RateLimitError: RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

Open Interpreter version

0.2.5

Python version

Python 3.12.3

Operating System name and version

Windows 10

Additional context

No response

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

Successfully merging a pull request may close this issue.

1 participant