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

Add user-friendly responses on the GUI #54

Open
jay-m-dev opened this issue Apr 3, 2024 · 1 comment
Open

Add user-friendly responses on the GUI #54

jay-m-dev opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jay-m-dev
Copy link
Collaborator

User-friendly errors should be shown to the user on the GUI.

Here's one example: using an OpenAI key with an insufficient quota gives this error on the ExecGPT backend:
exception: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

The Answer on the GUI is empty.

One suggestion would be to display user-friendly errors in a pop-up alert (or something similar).

@jay-m-dev jay-m-dev added the bug Something isn't working label Apr 3, 2024
@HyunjunA HyunjunA assigned HyunjunA and unassigned HyunjunA May 7, 2024
@HyunjunA
Copy link
Contributor

image

exception: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

With the exception noted above, the graph appears as shown in this image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants