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

re: add markdown message for insufficient_quota error in openai #1349

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

cyai
Copy link
Contributor

@cyai cyai commented Jul 23, 2024

Describe the changes you have made:

If you run out of money/funds in openai account then currently the interpreter throws an exception. Instead this PR ensures that it print the error message without crashing or dropping the conversation, so you can replenish account and continue.

Reference any relevant issues (e.g. "Fixes #000"):

Fixes #1297

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@KillianLucas KillianLucas changed the base branch from main to development October 10, 2024 19:42
@KillianLucas KillianLucas merged commit c2692ef into OpenInterpreter:development Oct 10, 2024
0 of 2 checks passed
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 this pull request may close these issues.

Should not crash from running out of money
2 participants