When the credit limit for an AI model is exceeded, the server currently returns an error message that does not provide a clear indication of the problem. This makes it difficult for users to understand the reason for the error and take appropriate action.
Expected Behavior:
The server should handle the exceeded credit limit scenario gracefully and return a proper response code in the response. For instance, it could return an HTTP 402 or HTTP 500 error.
A retry button will be triggered on the front-end UI for this.
Steps to Reproduce
Log into the website using a Google account. It will redirect to the chat section on successful authentication.
Description:
When the credit limit for an AI model is exceeded, the server currently returns an error message that does not provide a clear indication of the problem. This makes it difficult for users to understand the reason for the error and take appropriate action.
Expected Behavior:
The server should handle the exceeded credit limit scenario gracefully and return a proper response code in the response. For instance, it could return an HTTP 402 or HTTP 500 error. A retry button will be triggered on the front-end UI for this.
Steps to Reproduce
Video link of the issue: https://github.com/user-attachments/assets/40dc5624-b0c0-46a8-8643-e071a16601c4
Website link : https://chat-with-llms.com