Skip to content

[BUG] Deepseek V3.2 API error 400 after context condense #10175

@BowerMotorsport

Description

@BowerMotorsport

Problem (one or two sentences)

Resuming task that has been condensed causes error when using deepseek v3.2 reasoning.

Context (who is affected and when)

I believe any user who is using deepseek v3.2 who closes and reopens a chat that has been condensed will hit this issue.

Reproduction steps

Using deepseek v3.2 reasoning.

  1. Get context into the context window by any means.
  2. Manually condense from the task bar.
  3. error may present immediately, if not select new task from the top bar, reopen the same chat and select resume, error will present.

Expected result

Context condense process completes and task resumes and continues executing

Actual result

Error appears just after context condense halting any further task execution in this chat.

Variations tried (optional)

Issue was not present in
PR#9969
or
PR#9925

App Version

3.36.10

API Provider (optional)

DeepSeek

Model Used (optional)

Deepseek V3.2 Reasoning

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

/time: 2025-12-18T03:13:20.310Z
Extension version: 3.36.10
Provider: deepseek
Model: deepseek-reasoner

DeepSeek completion error: 400 Missing `reasoning_content` field in the assistant message at message index 1. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions