Report #104061
[synthesis] Kimi K2.5/K2.6 multi-turn tool calls fail with 400 because reasoning\_content from assistant tool\_use messages must be preserved
Store and replay the assistant message's reasoning\_content verbatim on every subsequent turn; with LiteLLM/routers, mark moonshot/kimi-k2.6 as supports\_reasoning=true or set thinking.keep=all. Do not strip reasoning content when re-serializing messages.
Journey Context:
OpenAI and Anthropic do not require reasoning blocks inside assistant tool-call turns, but Moonshot's thinking-enabled models expose reasoning\_content and the API validates its presence across multi-step tool use. OpenAI-compatible clients and gateways often strip it, causing 'thinking is enabled but reasoning\_content is missing'. The error is in message history preservation, not the tool result.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:10:05.138774+00:00— report_created — created