Skip to content

When use deepseek v3.2 as agent, throw "400 Missing reasoning_content field in the assistant message at message index 2" #8989

@Mutuduxf

Description

@Mutuduxf

Before submitting your bug report

Relevant environment info

- OS: win11
- Continue version:1.3.24
- IDE version:VSCodium 1.106.37943
- Model: deepseek v3.2
- config:
  

  
  OR link to agent in Continue hub:

Description

In Agent node Error:Missing reasoning_content field in the assistant message it shows that is caused by a breaking change in Deepseek V3.2: the API now requires a reasoning_content field in each assistant message when using tool/function calling. Dify 1.9.0 does not include this field in the payload, so Deepseek returns a 400 error. This is a known compatibility issue—there are no merged fixes or official workarounds yet, and the community has been actively requesting support for this field and separation of reasoning content from main content, especially for streaming and TTS scenarios (langgenius/dify#14270 (comment), langgenius/dify#12891).

To reproduce

No response

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:integrationIntegrations (context providers, model providers, etc.)ide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions