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

Errors in contacting model show up with code mini-toolbar in chat UI #791

Open
JasonWeill opened this issue May 20, 2024 · 0 comments
Open
Labels
bug Something isn't working @jupyter-ai/chatui

Comments

@JasonWeill
Copy link
Collaborator

Problem

As noted in #789 (comment), all of the output of the chosen model in the chat UI is rendered in markdown, even if it represents an error message. This causes the code mini-toolbar added in #789 to show up when there's a failure in contacting the model, even though it represents an error message, not code.

Proposed Solution

Use a different data model and DOM model for error reporting when contacting a model.

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

No branches or pull requests

1 participant