Files
OmniRoute/open-sse
Diego Rodrigues de Sa e Souza 83f7be8227 fix(executors): inject reasoning_content for native Kimi provider (port from 9router#1480)
The native Moonshot `kimi` provider (executor "default") is a thinking-mode
upstream that returns 400 "reasoning_content must be passed back" when a prior
assistant turn lacks it. OpencodeExecutor already injects a placeholder for
OpenCode-routed thinking models, but the direct kimi connection went through
DefaultExecutor, which did not — so multi-turn kimi conversations 400'd. Wire
the same injection into DefaultExecutor, scoped to `kimi` so gateway-served
models that merely match the thinking-model name pattern (and may reject an
extra field) are unaffected.

Regression guard: tests/unit/kimi-native-reasoning-injected-1480.test.ts.

Reported-by: 2220258345 (https://github.com/decolua/9router/issues/1480)
2026-07-06 16:50:24 -03:00
..
2026-07-06 02:25:17 -03:00
2026-05-26 23:51:47 -03:00
2026-07-06 02:25:17 -03:00
2026-06-29 08:40:06 -03:00
2026-07-06 02:25:17 -03:00
2026-07-06 02:25:17 -03:00
2026-07-06 02:25:17 -03:00
2026-06-12 23:49:22 -03:00
2026-06-29 08:40:06 -03:00