You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 Fix UI freeze when sending message in SSH workspaces (#450)
The UI froze for ~1s when sending messages in SSH workspaces because the
frontend awaited the entire IPC call, including remote temp directory
creation.
## Solution
Changed `ChatInput` to clear input/images immediately before the IPC
call instead of after it succeeds. This makes the UI responsive while
the backend handles SSH operations asynchronously.
On error, the previous state is restored so users can retry.
## Testing
Tested locally with SSH workspace - input clears immediately and chat
remains responsive during message send.
_Generated with `cmux`_
0 commit comments