Deepseek-chat:options:thinking:type:enabled thinking tools bug #6790

Open
opened 2026-02-16 18:05:17 -05:00 by yindo · 1 comment
Owner

Originally created by @ai-llt on GitHub (Jan 19, 2026).

Originally assigned to: @thdxr on GitHub.

Description

agent: {
deepseek-chat: {
"mode": "primary",
"model": "deepseek/deepseek-chat",
"options": {
"thinking": {
"type": "enabled"
}
}
}
}

→ Read opencode.json
Error: File not found: D:\Projects\LLM_Workspace\bear_party\opencode.json
Missing reasoning_content field in the assistant message at message index 2. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls

$ find . -name "plans" -type d
FIND: Parameter format not correct
Missing reasoning_content field in the assistant message at message index 5. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls

$ dir /b
Get-ChildItem: Cannot find path 'D:\b' because it does not exist.
Missing reasoning_content field in the assistant message at message index 8. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls

Above is the issue where the thinking parameter cannot be used and will result in an error in thinking mode. Please help me

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 @ai-llt on GitHub (Jan 19, 2026). Originally assigned to: @thdxr on GitHub. ### Description agent: { deepseek-chat: { "mode": "primary", "model": "deepseek/deepseek-chat", "options": { "thinking": { "type": "enabled" } } } } → Read opencode.json Error: File not found: D:\Projects\LLM_Workspace\bear_party\opencode.json Missing `reasoning_content` field in the assistant message at message index 2. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls $ find . -name "plans" -type d FIND: Parameter format not correct Missing `reasoning_content` field in the assistant message at message index 5. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls $ dir /b Get-ChildItem: Cannot find path 'D:\b' because it does not exist. Missing `reasoning_content` field in the assistant message at message index 8. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls Above is the issue where the thinking parameter cannot be used and will result in an error in thinking mode. Please help me ### 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 windowsbug labels 2026-02-16 18:05:17 -05:00
Author
Owner

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

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

  • #8934: The problem with deepseek-reasoner in OpenCode
  • #5027: Deepseek missing "reasoning_content" field ; deepseek_reasoner model erroring out
  • #4947: DeepSeek 3.2: Missing reasoning_content
  • #5577: DeepSeek V3.2 : reasoning_content not cleared from message history on new turns, causing excess token usage and violating API spec

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

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #8934: The problem with deepseek-reasoner in OpenCode - #5027: Deepseek missing "reasoning_content" field ; deepseek_reasoner model erroring out - #4947: DeepSeek 3.2: Missing `reasoning_content` - #5577: DeepSeek V3.2 : reasoning_content not cleared from message history on new turns, causing excess token usage and violating API spec 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#6790