DeepTutor icon indicating copy to clipboard operation
DeepTutor copied to clipboard

[Bug]: Partner responses cannot be stopped with Esc

Open Autumn0716 opened this issue 3 months ago • 29 comments

Do you need to file an issue?

  • [x] I have searched the existing issues and this bug is not already filed.
  • [x] I believe this is a legitimate bug, not just a question or feature request.

Describe the bug

While a Partner is replying, the chat box is locked. Pressing Esc does not pause or stop the response, so I have to wait for the entire reply to finish before I can use the composer again.

If I send the wrong prompt, there is no way to interrupt it.

Steps to reproduce

  1. Open a Partner conversation in the web UI.
  2. Send a message that takes a while to answer.
  3. Press Esc while the Partner is responding.
  4. Try to use the chat box.

Expected Behavior

Esc should stop the active Partner response and make the chat box usable again, as it does in the main Chat view.

Related Module

Frontend/Web

Configuration Used

Partner chat in the DeepTutor web UI.

Logs and screenshots

There is no visible error. The response continues and the chat box remains unavailable.

Additional Information

  • DeepTutor Version: Not captured
  • Operating System: Not captured
  • Python Version: Not captured
  • Node.js Version: Not captured
  • Browser (if applicable): Not captured
  • Related Issues: None found

Autumn0716 avatar Aug 04 '26 13:08 Autumn0716

Implemented in https://github.com/HKUDS/DeepTutor/pull/783.

mvanhorn avatar Aug 05 '26 21:08 mvanhorn

Thanks for your comments!

pancacake avatar Aug 06 '26 14:08 pancacake