Files
OmniRoute/tests
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-05-23 01:46:59 -03:00
2026-07-02 10:47:13 -03:00
2026-06-19 06:49:01 -03:00
2026-06-10 13:49:08 -03:00
2026-06-13 17:27:40 -03:00