Skip to content

Deepseek v4 Pro seems to be returning errors in build mode - reasoning_content in the thinking mode must be passed back to the API #24203

@abeer91

Description

@abeer91

Description

Using Deepseek v4 Pro, via Open Router.

It's working fine in plan mode. When triggering build mode with the plan it generated, keep getting the error:

Image

Plugins

No response

OpenCode version

1.14.24

Steps to reproduce

Setup OpenRouter with DeepSeek v4, create a plan, execute plan

Screenshot and/or share link

Attached above

Operating System

MacOS

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

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

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