-
-
Notifications
You must be signed in to change notification settings - Fork 14
Fix v0.14.0 bugs #242
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
Fix v0.14.0 bugs #242
Conversation
@dlqqq thanks for working on this.
It may be a naive question, but I wonder what would be the drawback to just build this And and we want backward compatibility, we can probably add it on first load. |
@brichet Great question. The benefit of adding a
These objects may not have the The implementation probably can be simplified, but the changes should be safe as-is since |
@andrii-i BTW, this PR can be tested by:
I would recommend doing this in a new environment to avoid breaking an existing one. |
We plan to publish a v0.15.0 release after this PR is merged so we can integrate the latest version w/ JAI v3. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks and works well, improves user experience. Thank you @dlqqq.
I've tested this separately and with Jupyter AI v3, mentions and commands/filenames (including with spaces) work well in different scenarios (couldn't break it).
@andrii-i Thank you! Our team is working really hard on Jupyter AI v3 right now & needs this change to use the @jtpio @brichet If our changes / releases ever cause an issue, please let us know. We're happy to take responsibility for our PRs & fix any issues they may cause. |
Description
This PR fixes each of the small bugs reported in #241. The commit history addresses each in the order they appear in #241.
The most notable changes are:
The
user.mention_name
property has been made consistent across the frontend & backend. It is now computed using the same procedure and is always defined in theLabChatModel
.The
inputModel.currentWord
property has been modified to allow for spaces escaped with a preceding backslash\
in the current word. This allows commands to contain spaces, allowing@file
in JAI to accept file paths that contain spaces.