Skip to content

deepseek v4 provider error: The reasoning_content in the thinking mode must be passed back to the API #24497

Closed

Description

@mstrYoda

Description

While using DeepSeek v4 with OpenCode Go, after a couple of prompt it gave me following error:

Error from provider (DeepSeek): The `reasoning_content` in the thinking mode must be passed back to the API.

Plugins

No response

OpenCode version

1.3.10

Steps to reproduce

Give couple of prompt some of them contains image.

Screenshot and/or share link

Image

Operating System

macOS sequoia 15.6.1

Terminal

OpenCode Web UI

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 26, 2026
  2. github-actions commented on Apr 26, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from these, please add context explaining what's different. Otherwise, consider adding a reaction or comment to an existing issue so maintainers can better track impact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions