-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[Bug]: Google Endpoint Balance Issues #4408
Comments
Issue: Balance Check Not Triggered for Google EndpointProblem: Affected Code Snippet (
By default, the Solution: typescript
With this addition, the balance check now works for the Google endpoint as expected. |
Also #4580 The root cause of these issues is that Google had not published their prices for a long time when it was implemented, as their models were in "free trial." I have a series of changes planned for the Google Endpoint that should address this. |
What happened?
When CHECK_BALANCE is set to true, users are able to bypass the lack of tokens assigned to their account by switching to Google. OpenAI, Anthropic and all other providers honour the CHECK_BALANCE setting.
Currently running 0.7.5-rc2
Steps to Reproduce
Step 6 should respond with insufficient funds.
Repeating steps 5 and 6 with OpenAI results in Insufficient Funds message as per screenshot
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
Code of Conduct
The text was updated successfully, but these errors were encountered: