-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Problem (one or two sentences)
When all (or multiple?) Roo modes are set to use Gemini 3, most of the time when Roo switches modes the first API call fails with the error:
"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."
However this failed request usually still has a "Thinking" icon that can be expanded to see the model's thinking output, so the API call was at least partially successful.
It's unclear if this is a model response issue, or an issue with Roo's interpretation of the model response.
In these cases the first retry attempt is usually successful.
Context (who is affected and when)
Users of Gemini 3 models in multiple Roo modes.
Reproduction steps
- Use gemini-3-pro-preview for all Roo modes
- Allow auto approve for everything
- Create task in Orchestrator that will will require multiple mode changes
Watch the first request after each mode change. I have experienced failures of 80+% of first request after mode change.
Expected result
Roo mode processes request that was provided by Orchestrator
Actual result
First API request fails and requires retry
Variations tried (optional)
No response
App Version
v3.34.0
API Provider (optional)
Google Gemini
Model Used (optional)
gemini-3-pro-preview
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
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
Labels
Type
Projects
Status