Skip to content

[BUG] Unexpected API Response: The language model did not provide any assistant messages. This may indicate an issue with the API or the model's output. #12284

@PlanBernhard

Description

@PlanBernhard

Problem (one or two sentences)

Date/time: 2026-05-07T19:43:10.092Z
Extension version: 3.53.0
Provider: roo
Model: anthropic/claude-sonnet-4.6

Unexpected API Response: The language model did not provide any assistant messages. This may indicate an issue with the API or the model's output.

Context (who is affected and when)

me using anthropic/claude-sonnet-4.6 with a custom mode

Reproduction steps

use anthropic/claude-sonnet-4.6 with a custom mode

Expected result

That it works

Actual result

Error

Variations tried (optional)

No response

App Version

Version: 3.53.0 (44f6bba)

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

REMOVED SEE ANSWER BELOW

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions