Skip to content

use DeepSeek v4 think show The reasoning_content in the thinking mode must be passed back to the API. #24135

@XXUZZWZ

Description

@XXUZZWZ

Description

model config

"provider": {
"deepseek": {
"npm": "@ai-sdk/openai-compatible",
"name": "DeepSeek",
"options": {
"baseURL": "https://api.deepseek.com",
"apiKey": ""
},
"models": {
"deepseek-v4-pro": {
"name": "DeepSeek-V4-Pro",
"limit": {
"context": 1048576,
"output": 262144
},
"options": {
"reasoningEffort": "max",
"thinking": {
"type": "enabled"
}
}
}
}
}
}

Image

Plugins

No response

OpenCode version

1.14.22

Steps to reproduce

  1. opencode
  2. talk 3 turn make it into think

Screenshot and/or share link

https://opncd.ai/share/pZUUp39V

Operating System

Windows 11

Terminal

powershell

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions