Skip to content

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

Closed as not planned

Description

@agarwalbikram

Description

{ "name": "APIError", "data": { "message": "Error from provider (DeepSeek): The reasoning_contentin the thinking mode must be passed back to the API.", "statusCode": 400, "isRetryable": false, "responseHeaders": { "cf-ray": "9f1e8cb56dd8a8fe-CMH", "connection": "keep-alive", "content-length": "207", "content-type": "application/json", "date": "Sat, 25 Apr 2026 15:58:32 GMT", "server": "cloudflare" }, "responseBody": "{\"error\":{\"message\":\"Error from provider (DeepSeek): Thereasoning_content in the thinking mode must be passed back to the API.\",\"type\":\"invalid_request_error\",\"param\":null,\"code\":\"invalid_request_error\"}}", "metadata": { "url": "https://opencode.ai/zen/go/v1/chat/completions" } } }

Plugins

KiloCode with VsCode Ide using opencode API

OpenCode version

I use KiloCode

Steps to reproduce

Just normal Promot in KiloCode

Screenshot and/or share link

Operating System

MacOs

Terminal

Activity

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

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Steps to reproduce are missing (_No response_)
    • OpenCode version, Operating System, and Terminal fields are all empty — this context is needed to triage and fix the bug

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Apr 25, 2026
  4. github-actions commented on Apr 25, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now includes the error details, environment info, and steps to reproduce. Everything looks good — the compliance flag has been removed.

  5. igzard commented on Apr 25, 2026

    @igzard

    same here

  6. mstrYoda commented on Apr 26, 2026

    @mstrYoda

    I faced with the same issue while using OpenCode webui:

    The reasoning_content in the thinking mode must be passed back to the API.

  7. rekram1-node commented on Apr 26, 2026

    @rekram1-node
    Collaborator

    If you are using KiloCode this is a bug in Kilo.

  8. bkaragozpg commented on May 24, 2026

    @bkaragozpg

    I have the same issue on windows opencode cli, with both deepseek v4 flash and pro.

    RequestExecutor.execute: Provider request failed with HTTP 400: {"error":{"message":"Error from provider (DeepSeek): The reasoning_content in the thinking mode must be passed back to the API.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}

  9. aria-amini commented on May 25, 2026

    @aria-amini

    Getting same error for deepseek v4. Version 1.15.6 and below still work

  10. md-rifatkhan commented on Aug 5, 2026

    @md-rifatkhan

    any solution?

  11. sawa-ko commented on Aug 7, 2026

    @sawa-ko

    Same here.

  12. rekram1-node commented on Aug 7, 2026

    @rekram1-node
    Collaborator

    need more info

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

Metadata

Metadata

Assignees

Labels

acpbugSomething 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