You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Description
When setting up the OpenAI provider, after pasting in the API key and pressing the Check button, the Chatbox will display a Connection Failed message if the account balance is zero ($0.00). This may be the case with other providers, but I have not tested this.
Steps to Reproduce
Have a $0.00 balance in your OpenAI API account
Go to Settings → Model Provider → OpenAI → Enter your API key → press Check
See the Connection Failed error
Expected Results
I would expect a more helpful message such as Insufficient Quota.OpenAI returns an HTTP 429 error with an insufficient_quota message:
{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
Desktop:
Operating System: Windows
Application Version: 1.13.1
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Bug Description
When setting up the OpenAI provider, after pasting in the API key and pressing the
Check
button, the Chatbox will display aConnection Failed
message if the account balance is zero ($0.00). This may be the case with other providers, but I have not tested this.Steps to Reproduce
Settings
→Model Provider
→OpenAI
→ Enter your API key → pressCheck
Connection Failed
errorExpected Results
I would expect a more helpful message such as
Insufficient Quota.
OpenAI returns an HTTP 429 error with aninsufficient_quota
message:Desktop:
The text was updated successfully, but these errors were encountered: