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

Clearing output doesn't clear _all_ output in a chat example. #147

Open
deanwampler opened this issue Oct 14, 2024 · 2 comments
Open

Clearing output doesn't clear _all_ output in a chat example. #147

deanwampler opened this issue Oct 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@deanwampler
Copy link

While testing a notebook PR for the https://github.com/ibm-granite-community/granite-snack-cookbook/, I also cleared the notebook output in Jupyter Lab, which is our standard practice. In doing so, I noticed a strange behavior for the output of the chat program. Invoking "Clear outputs of all cells" in Jupyter Lab only erased one line of the chat interaction at a time. I had to repeat the command multiple times to clear the whole output. This seems like a bug.

@mandel
Copy link
Collaborator

mandel commented Oct 15, 2024

Thanks for reporting that. We will look at this issue.

@deanwampler
Copy link
Author

I didn't say this explicitly, but if this is a bug, I'm guessing it would be related to the notebook extension. For example, the chat is printed "flat", but is it stored "hierarchically" or in some sort of linked list and the notebooks "clear output" command only cleans one layer?

@vazirim vazirim added the bug Something isn't working label Oct 16, 2024
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

No branches or pull requests

3 participants