Add a stop/cancel button to interrupt LLM processing when users realize they forgot to include important information after submitting a query.
Key requirements:
Display a "Stop" or "Cancel" button immediately after a query is submitted
Allow users to terminate the ongoing LLM request
Reset the UI to let users edit and resubmit their query
Handle cancellation gracefully without errors or data loss
Add a stop/cancel button to interrupt LLM processing when users realize they forgot to include important information after submitting a query.
Key requirements:
Display a "Stop" or "Cancel" button immediately after a query is submitted
Allow users to terminate the ongoing LLM request
Reset the UI to let users edit and resubmit their query
Handle cancellation gracefully without errors or data loss