EpistasisLab / EpistasisLab/KRAGEN

Add user-friendly responses on the GUI

Open
#54 1 comment 0 reactions 1 assignee Claimed by @HyunjunA View on GitHub
bug
Dominant language
Python
Stars
681
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.