Skip to content

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

@ai-llt

Description

@ai-llt

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions