9router/open-sse/handlers/chatCore
qianze c22f11de38 fix(stream): prevent non-JSON SSE lines and duplicate [DONE] from breaking clients
- Passthrough: skip non-JSON data lines instead of forwarding raw garbage
- Translate: stop emitting redundant [DONE] sentinel (message_stop terminates)
- Add streamDoneSent flag to prevent duplicate [DONE] across transform + flush
- Warn on unexpected upstream Content-Type for streaming responses

PR #2046 by @qianze0628

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 10:22:53 +07:00
..
nonStreamingHandler.js Fix usage logging dedupe and reduce stats churn 2026-06-26 10:22:20 +07:00
requestDetail.js Feat : console log 2026-03-02 09:31:16 +07:00
sseToJsonHandler.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
streamingHandler.js fix(stream): prevent non-JSON SSE lines and duplicate [DONE] from breaking clients 2026-06-26 10:22:53 +07:00