-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add chat autocompletion and the /clear
command
#41
Conversation
We may also need to apply the same trick as in jupyterlab/jupyter-chat#159. |
/clear
command/clear
command
Thanks for looking into it @jtpio. FYI there may be some changes in the way the autocompletion are handled and registered in jupyter-chat: |
Thanks for the heads-up. Sounds good, we can adapt here after updating to a new version of |
There seems to be an issue with keyboard when displaying and hiding the completer suggestion. record-2025-02-14_11.13.18.webmI think that it is an issue with |
This makes me realize that the history seems to never be cleared, which could lead to a huge message list. I'll open an issue on this. |
It also seems to be an issue with the Jupyter AI v3 pre-release. For example when testing from the jupyter-chat-enter-key-issue.mp4So yes, it is likely an issue in |
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.
Thanks @jtpio, looks great.
I also tested the linting error on MUI icons, it works well 👍
Slash commands are useful to perform regular actions, such as clearing the history of messages.
This adds a
IAutocompletionRegistry
to register/clear
and be able to clear the chat history.jupyterlite-ai-clear-command.mp4