Skip to content

An error occurred when calling the DeepSeek v4 Pro model. #3786

@wenshao

Description

@wenshao

What happened?

[API Error: 400 {"error":{"message":"The content[].thinking in the thinking mode must be passed back to the API.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}]

What did you expect to happen?

Better support for Deepseek v4 Pro

Client information

Qwen Code: 0.15.6 (5d1052a)
Runtime: Node.js v20.20.2 / npm 10.8.2
OS: darwin arm64 (25.4.0)
Auth: API Key - anthropic
Base URL: https://api.deepseek.com/anthropic
Model: deepseek-v4-pro
Fast Model: qwen3-coder-flash
Session ID: 5ea93a2f-899d-4091-b523-9f0fc99e1395
Sandbox: no sandbox
Proxy: no proxy
Memory Usage: 372.9 MB

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions