A frontend streams model output but treats a dropped connection as a completed successful answer. What integration change is most appropriate?

Published
  1. Mark success after the first token regardless of later errors.
  2. Hide all interruptions and append a generated success message.
  3. Track stream completion and error events and distinguish partial output from a finalized successful response.
  4. Retry every interrupted side-effecting tool without an idempotency key.

Comments — 0