9router/open-sse/handlers
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
..
chatCore fix(stream): prevent non-JSON SSE lines and duplicate [DONE] from breaking clients 2026-06-26 10:22:53 +07:00
embeddingProviders refactor(open-sse): B1 consolidate media endpoint URLs into registry 2026-06-14 13:58:12 +07:00
fetch Enhance token refresh functionality across multiple executors 2026-04-28 17:28:57 +07:00
imageProviders feat(antigravity): native image generation support 2026-06-21 17:54:32 +07:00
search refactor(open-sse): B1 consolidate media endpoint URLs into registry 2026-06-14 13:58:12 +07:00
ttsProviders refactor(registry): B2 migrate to LiteLLM-style schema — unified models[] with kind field 2026-06-14 14:32:59 +07:00
chatCore.js feat(antigravity): native image generation support 2026-06-21 17:54:32 +07:00
embeddingsCore.js Feat : Skills 2026-05-04 11:29:02 +07:00
imageGenerationCore.js feat(antigravity): native image generation support 2026-06-21 17:54:32 +07:00
responsesHandler.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
sttCore.js refactor(open-sse): remove reverse coupling open-sse -> src (E2) 2026-06-13 16:35:07 +07:00
ttsCore.js feat: add STT support, Gemini TTS, and expand usage tracking 2026-05-05 10:32:59 +07:00