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

ENH: OpenAI errors written as text not image #16

Open
jschrempp opened this issue Feb 29, 2024 · 0 comments
Open

ENH: OpenAI errors written as text not image #16

jschrempp opened this issue Feb 29, 2024 · 0 comments

Comments

@jschrempp
Copy link
Owner

Today when OpenAI returns an error we construct an image to display the error json. This is a legacy implementation.

Better will be to interpret certain OpenAI errors (like a safety violation) and give the user a better error message.

Better too will be to display those errors in the new messages window rather than making an image to overwrite the previously displayed image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant