Skip to content

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

@Carrie-L

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

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