Skip to content

DeepSeek V4 400: The reasoning_content in the thinking mode must be passed back to the API. #24385

Closed as not planned

Description

@Carrie-L

Description

在AndroidStudio Panda4 版本的第三方Provider里输入API_KEY后,只要有tool call就会报错:
Please try again later.
Error: com.openai.errors.BadRequestException: 400: The reasoning_content in the thinking mode must be passed back to the API.

在issues里看到其他人有相同的问题,但是不知道在Android Studio里要如何修改

Plugins

No response

OpenCode version

No response

Steps to reproduce

  1. 在 Android Studio 最新版 Panda4 打开 File —— Settings —— Tools / AI / Model Providers —— 添加第三方
  2. Url 使用 https://api.deepseek.com , URL Schema: OpenAI-compatible

Screenshot and/or share link

Image

Operating System

windows11

Terminal

android studio panda 4

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 might be a duplicate of existing issues. Please check:

    Please review those issues and add a thumbs-up reaction or comment there rather than opening a new report. If your situation differs meaningfully, please describe how it differs from the existing reports.

  3. rekram1-node commented on Apr 26, 2026

    @rekram1-node
    Collaborator

    I don't see how this is relevant to opencode, also please use english in issues

  4. kihere commented on May 2, 2026

    @kihere

    我也是同样的问题

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)windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions