Files
OmniRoute/tests
Diego Rodrigues de Sa e Souza 6147f884c7 fix(translator): emit </think> close marker for Anthropic thinking blocks
When clients consume the OpenAI-compatible stream synthesised from
Claude-native SSE, the absence of an explicit "thinking complete"
signal on `content_block_stop` left UIs (Claude Code, Cursor, etc.)
stuck on the "thinking" indicator after the upstream stream finished.

Emit a single `content: "</think>"` chunk on stop — matching the
convention already used by openai-responses.ts and
responsesTransformer.ts which split reasoning from final content on
that exact marker. `reasoning_content` consumers are unaffected since
the streamed deltas already reached them.

Co-authored-by: Quan <quanle96@outlook.com>
Inspired-by: https://github.com/decolua/9router/pull/454
2026-06-23 21:50:48 -03:00
..
2026-06-17 19:26:32 -03:00
2026-05-23 01:46:59 -03:00
2026-06-20 07:09:43 -03:00
2026-06-19 06:49:01 -03:00
2026-06-23 17:06:18 -03:00
2026-06-10 13:49:08 -03:00
2026-06-13 17:27:40 -03:00