-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem (one or two sentences)
I am using Roo-Code v3.39.3 on VS Code 1.108.0
Provider: Openrouter
Date/time: 2026-01-11T17:46:33.573Z
Extension version: 3.39.3
Provider: openrouter
Model: mistralai/devstral-2512
400
OpenRouter completion error: {"detail":"Invalid request: Invalid request: {\"detail\":{\"error\":{\"message\":\"Unexpected role 'user' after role 'tool' Unexpected role 'user' after role 'tool'\",\"type\":\"BadRequestError\",\"param\":null,\"code\":400}}}"}
Context (who is affected and when)
..
Reproduction steps
...
Expected result
no error
Actual result
error 400
Variations tried (optional)
No response
App Version
v3.39.3
API Provider (optional)
OpenRouter
Model Used (optional)
mistralai/devstral-2512
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working