chat-ui
e86e467d - Add ESC key handler to stop message generation

Commit
79 days ago
Add ESC key handler to stop message generation Introduces a global keydown event listener to allow users to stop message generation by pressing the Escape key while loading. Refactors the stop logic into a reusable stopGeneration function.
Author
Parents
Loading