Skip to content

[BUG] Gemini Pro Failing on both Gemini and Openrouter #10422

@philmas

Description

@philmas

Problem (one or two sentences)

google/gemini-3-pro-preview does not work and fails whenever you ask a follow-up question. It seems similar to #6999

Context (who is affected and when)

The user providing a follow-up question.

Reproduction steps

Put Gemini Pro 3 Preview into work by providing a prompt. Then subsequently, ask a new question. It will misbehave and fail with the message:

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.

Expected result

The agent proceeds with the task

Actual result

The agent incurs a charge and then fails with the error message

Variations tried (optional)

Different providers with the same model.

App Version

3.38.2

API Provider (optional)

Google Gemini

Model Used (optional)

google/gemini-3-pro-preview

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Extension version: 3.38.2
Provider: openrouter / Google Gemini
Model: google/gemini-3-pro-preview

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.

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