-
Notifications
You must be signed in to change notification settings - Fork 267
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
Better handle insufficient_quota errors #6
Comments
Thanks for the update, and great point |
Updated the title accordingly, we should make an update to print this nicely to the end user that they have exceeded their quote (vs the current unhelpful error message) |
ha I got the point, we need to activate billing and have a payment method in place if not on the API free trial. I'll write a pull request with a brief note in the Readme! |
Updated error handling in |
I'm running :
the steps to reproduce the issue
npm install -g @builder.io/ai-shell
ai-shell config set OPENAI_KEY=<API_KEY>
ai list all log files
update
I've tried switching to node v-16 and still rejects but with a different error message
it seem that I have exceeded my plan limit.
but it would be great to catch the error so it doesn't freeze the shell session
The text was updated successfully, but these errors were encountered: