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

Fix removal of pending messages on error #888

Merged
merged 4 commits into from
Jul 12, 2024

Conversation

krassowski
Copy link
Member

@krassowski krassowski commented Jul 10, 2024

Fixes #884

  • adds a test case (should fail in the first commit)
  • fixes the problematic behavior by restoring the context manager

@krassowski krassowski added the bug Something isn't working label Jul 10, 2024
@krassowski krassowski marked this pull request as ready for review July 10, 2024 19:26
@krassowski krassowski force-pushed the remove-pending-on-error branch 2 times, most recently from cc18864 to 5a3e951 Compare July 11, 2024 08:33
@krassowski krassowski mentioned this pull request Jul 11, 2024
Copy link
Collaborator

@dlqqq dlqqq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krassowski Thank you for this bug fix! Really appreciate you going the extra mile here by adding unit tests too. Just one minor callout below. 👍

@krassowski krassowski requested a review from dlqqq July 12, 2024 17:00
Copy link
Collaborator

@dlqqq dlqqq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thank you!

@dlqqq dlqqq merged commit 8ca4854 into jupyterlab:main Jul 12, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

After an error the "Generating response..." placeholder stays stuck at the bottom of the chat
2 participants