The problem with deepseek-reasoner in OpenCode #6512

Open
opened 2026-02-16 18:04:26 -05:00 by yindo · 2 comments
Owner

Originally created by @kirinchin156-source on GitHub (Jan 16, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Questions for OpenCode Developers:

  1. "Does OpenCode support the full reasoning_content cycle for DeepSeek thinking mode?"
  2. "Are there plans to implement saving reasoning chains between tool calls?"
  3. "Is there a workaround for using deepseek reasoner with Shell tools?"

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @kirinchin156-source on GitHub (Jan 16, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Questions for OpenCode Developers: 1. "Does OpenCode support the full reasoning_content cycle for DeepSeek thinking mode?" 2. "Are there plans to implement saving reasoning chains between tool calls?" 3. "Is there a workaround for using deepseek reasoner with Shell tools?" ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:04:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2026):

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

  • #5577: DeepSeek V3.2 reasoning_content not cleared from message history on new turns, causing excess token usage and violating API spec
  • #6615: Deepseek v3.2 - Azure Foundry - It works partially, tools and todos not
  • #6040: reasoning_content not sent when using @ai-sdk/openai-compatible with deepseek-reasoner (closed)

Feel free to ignore if your specific case is not addressed by these issues.

@github-actions[bot] commented on GitHub (Jan 16, 2026): This issue might be a duplicate of existing issues. Please check: - #5577: DeepSeek V3.2 reasoning_content not cleared from message history on new turns, causing excess token usage and violating API spec - #6615: Deepseek v3.2 - Azure Foundry - It works partially, tools and todos not - #6040: reasoning_content not sent when using @ai-sdk/openai-compatible with deepseek-reasoner (closed) Feel free to ignore if your specific case is not addressed by these issues.
Author
Owner

@Robinblennert commented on GitHub (Jan 19, 2026):

Have you fixed it yet?
I used 128k really quick and couldnt save the work. Crazy NO idea how much of tokens was used but I understand there is a bug.

@Robinblennert commented on GitHub (Jan 19, 2026): Have you fixed it yet? I used 128k really quick and couldnt save the work. Crazy NO idea how much of tokens was used but I understand there is a bug.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6512