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

Reply gracefully when chat model is not selected #1183

Merged
merged 3 commits into from
Dec 31, 2024
Merged

Conversation

dlqqq
Copy link
Member

@dlqqq dlqqq commented Dec 30, 2024

Description

Demo

Screen.Recording.2024-12-30.at.3.46.37.PM.mov

@dlqqq dlqqq added the bug Something isn't working label Dec 30, 2024
Copy link
Collaborator

@srdas srdas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code changes look good! However, I am unable to test this as I keep running into Issue #1172 which blocks opening a chat panel to try this out.

Copy link
Collaborator

@srdas srdas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked that the error of a missing model is provided in chat.
Tested the new code as well and it is working as expected when a model is selected.
image

@dlqqq dlqqq merged commit f44e62b into jupyterlab:main Dec 31, 2024
10 checks passed
@dlqqq dlqqq deleted the fix-1176 branch December 31, 2024 20:50
Copy link
Contributor

@ellisonbg ellisonbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See minor question inline.

srdas pushed a commit to srdas/jupyter-ai that referenced this pull request Jan 6, 2025
* add *.chat files to gitignore

* gracefully handle new messages without a selected chat model

* pre-commit
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

Successfully merging this pull request may close these issues.

Problem with unsupported_slash_commands
3 participants