mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Navigating away mid-reply aborts the SSE fetch; the provider call tears down, but the conversation was left with the user message dangling and no trace of the interruption. Persist an empty assistant row tagged providerType "cancelled" (the refusal/nudge sentinel channel) when the request signal is aborted, refund stays intact, and the abort is annotated as insights.coach.cancelled instead of a provider failure or a GlitchTip defect. Cancelled markers are filtered out of the provider transcript on later turns. Refs #781
1.4 MiB
1.4 MiB