Bug Fixes
- Fix chat state corruption during AI generation
- Chat switching, deletion, and new chat creation are now blocked while AI is generating
- Users are notified with a message to stop generation first before performing these operations
- Stop button now reliably resets the loading state even if the stream doesn't respond
Improvements
- Preserve chat state when switching tabs
- Chat component is no longer unmounted when switching to Workflow tab
- Streaming responses continue uninterrupted during tab switches
- Chat history and input state are preserved