Report #68838
[gotcha] Cancelling a streaming AI response leaves partial content that appears complete but is truncated
When a user cancels mid-stream, either discard the partial response entirely and remove it from the UI, or clearly mark it as incomplete with a visual indicator such as 'Response stopped — this answer may be incomplete.' Never leave truncated content that looks like a complete answer, and never auto-save partial responses to conversation history as if they were complete.
Journey Context:
When users hit stop during streaming, the partial text already rendered may look like a complete, coherent response—especially if the cancellation happens after a sentence boundary or paragraph break. Users may read and act on this truncated content believing it is the full answer. The naive implementation just stops the stream and leaves whatever was rendered, which is dangerous for factual or instructional content where the missing portion might contain critical caveats, corrections, or next steps. The correct approach is to either remove the partial response \(clean but potentially frustrating if the user was reading\) or clearly annotate it as incomplete. A compounding failure mode: some implementations auto-save partial responses to conversation history, so the AI later references its own truncated answer as if it were complete, perpetuating the incomplete information across turns.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:01:44.052638+00:00— report_created — created