Skip to content

[BUG] GEMINI MODELS HANDLING FAILS #12045

@EdizAnil

Description

@EdizAnil

Problem (one or two sentences)

Gemini models started to fail after I update the extension.

Date/time: 2026-04-02T13:35:52.871Z
Extension version: 3.51.1
Provider: vertex
Model: gemini-3.1-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.

Date/time: 2026-04-02T13:37:29.751Z
Extension version: 3.51.1
Provider: vertex
Model: gemini-2.5-flash

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)

Happens when a new request sent to any gemini models over gcp vertex ai

Reproduction steps

Environment setup: Windows 11, vscode v1.107.1, Extension version: 3.51.1

Expected result

Gemini api handling to be fixed

Actual result

gemini api handling fixed

Variations tried (optional)

No response

App Version

3.51.1

API Provider (optional)

Google Vertex AI

Model Used (optional)

gemini-3.1-pro-preview

Roo Code Task Links (optional)

No response

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