Report #45845
[gotcha] Interrupting a streaming AI response leaves partial output that looks complete
When a user cancels a streaming response, either discard the partial output entirely or explicitly mark it as truncated/incomplete with distinct UI treatment. Never persist or allow actions on cancelled-stream content without user acknowledgment of its incompleteness.
Journey Context:
When users stop a streaming response mid-generation, the partial text sits in the chat looking like a complete answer. Users copy it, act on it, or the system auto-saves it — all treating truncated content as finished. The silent gotcha: partial responses can be syntactically valid but semantically incomplete \(a code block missing its closing logic, a ranked list missing the top item, a JSON object missing its final key\). The SSE spec fires an error event on disconnect, but most implementations don't map this to a distinct UI state. You need an explicit 'generation cancelled' state that is visually distinct from 'generation complete'.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:25:39.069258+00:00— report_created — created