Update web UX when server side error or hit stop + no task running

- Ack websocket interrupt even when no task running
  Otherwise chat UX isn't updated to indicate query has stopped
  processing for this edge case

- Mark chat request as not being procesed on server side error
This commit is contained in:
Debanjum
2025-08-18 23:26:37 -07:00
parent 222cc19b7f
commit e0007a31bb
2 changed files with 4 additions and 1 deletions

View File

@@ -359,6 +359,7 @@ export default function Chat() {
return;
} else if (controlMessage.error) {
console.error("WebSocket error:", controlMessage.error);
setProcessQuerySignal(false);
return;
}
} catch {