You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Kimi K2.6 reasoning content leaks into main response instead of being rendered as thinking block #32800
When using Kimi K2.6 through the direct Moonshot AI provider, the model's reasoning content is not separated into a thinking/rationale block. Instead, it is streamed as part of the main assistant response, making it look like the model is "talking to itself" in the answer.
This does not happen with Kimi K2.7 under the same setup — reasoning is correctly handled there.
Environment:
OpenCode version: 1.17.7
Provider: Moonshot AI (direct, via /connect)
Model: Kimi K2.6
OS: Windows 11 + WSL
Terminal: WezTerm
Steps to reproduce:
Run opencode.
Connect Moonshot AI provider via /connect.
Select Kimi K2.6 model via /models.
Send any prompt.
Observe that reasoning text appears inline in the assistant response rather than in a separate thinking block.
Expected behavior:
Reasoning should be rendered as a collapsible Thought: block (when /thinking is enabled) or hidden from the response entirely (when /thinking is disabled).
Actual behavior:
Reasoning text is mixed into the normal response text, as if it were part of the answer. The /thinking command has no effect on this behavior — the reasoning content is never recognized as a separate block.
Additional context:
/thinking command state does not affect this behavior.
The issue appears specific to Kimi K2.6; Kimi K2.7 works correctly.
Activity
github-actions commentedon Aug 18, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.