We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently consumers of IChatModel need to use the following method to clear all messages:
IChatModel
jupyter-chat/packages/jupyter-chat/src/model.ts
Line 157 in 73512c1
For example:
this.messagesDeleted(0, this.messages.length);
Maybe it could be more convenient if a clear method was exposed?
clear
One objection would be that adding a new method increases the API surface.
The text was updated successfully, but these errors were encountered:
Thanks @jtpio, that would be useful 👍, indeed.
Sorry, something went wrong.
No branches or pull requests
Problem
Currently consumers of
IChatModel
need to use the following method to clear all messages:jupyter-chat/packages/jupyter-chat/src/model.ts
Line 157 in 73512c1
For example:
Proposed Solution
Maybe it could be more convenient if a
clear
method was exposed?Additional context
One objection would be that adding a new method increases the API surface.
The text was updated successfully, but these errors were encountered: