Kimi K2: thinking block does not render <think> tags #2820

Closed
opened 2026-02-16 17:37:22 -05:00 by yindo · 1 comment
Owner

Originally created by @Arasple on GitHub (Nov 12, 2025).

Originally assigned to: @fwang on GitHub.

Description

The “thinking” block is not rendered for the Kimi K2 model. The same UI renders a thinking block for Claude Sonnet 4.5.

OpenCode version

1.0.61

Steps to reproduce

  1. Select model: Kimi K2 Thinking Alpha
  2. Submit a prompt that produces a chain-of-thought/thinking stream.
  3. Observe the response pane.

Screenshot and/or share link

Expected Behavior
A “Thinking” block renders (as it does with Claude Sonnet 4.5).

Image

Actual Behavior

Image

Operating System

macOS 26.1

Terminal

Ghostty

Originally created by @Arasple on GitHub (Nov 12, 2025). Originally assigned to: @fwang on GitHub. ### Description The “thinking” block is not rendered for the Kimi K2 model. The same UI renders a thinking block for Claude Sonnet 4.5. ### OpenCode version 1.0.61 ### Steps to reproduce 1. Select model: Kimi K2 Thinking Alpha 2. Submit a prompt that produces a chain-of-thought/thinking stream. 3. Observe the response pane. ### Screenshot and/or share link **Expected Behavior** A “Thinking” block renders (as it does with Claude Sonnet 4.5). <img width="386" height="50" alt="Image" src="https://github.com/user-attachments/assets/3c8931ae-92bd-4ecc-9886-b1cdf03b45aa" /> **Actual Behavior** <img width="472" height="152" alt="Image" src="https://github.com/user-attachments/assets/61c4583d-7d04-49c9-b8f9-601c048d8a9e" /> ### Operating System macOS 26.1 ### Terminal Ghostty
yindo added the zen label 2026-02-16 17:37:22 -05:00
yindo closed this issue 2026-02-16 17:37:22 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 12, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4033: Very similar issue with MiniMax M2 model where tags are not rendered as collapsible thinking blocks in the UI

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 12, 2025): This issue might be a duplicate of existing issues. Please check: - #4033: Very similar issue with MiniMax M2 model where <think> tags are not rendered as collapsible thinking blocks in the UI Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2820