-
-
Notifications
You must be signed in to change notification settings - Fork 14
Add a welcome message #221
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
base: main
Are you sure you want to change the base?
Conversation
I was hoping to add UI tests on welcome message, but I'm not sure if this is possible, since The 2 ways I could think of to test it are:
|
Bump CI |
* @param rmRegistry - the rendermime registry. | ||
* @returns a promise that resolves to the renderer. | ||
*/ | ||
export async function renderContent( |
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 like this method is new. Would it make sense to pass an options
object instead of individual arguments? In case more parameters need to be added later.
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.
Right, I updated it.
While updating the |
This PR adds an optional welcome message to the chat, rendered as markdown.
This message is displayed on top of all the messages in the chat widget.
It also adds a token to
jupyterlab-chat
, to allow third party extensions to provide their own message with a plugin. There is no default message injupyterlab-chat
.Fixes #217
Related to jupyterlite/ai#44