Roo-Code/packages
Roo Code db061661cc feat: add strict tool message ordering setting for OpenAI Compatible providers
Adds a new setting `openAiStrictToolMessageOrdering` to OpenAI Compatible
providers that enables merging text content after tool results into the
last tool message. This fixes "Unexpected role user after role tool"
errors with NVIDIA NIM, OpenRouter, and other strict OpenAI-compatible APIs.

When enabled, environment_details and other text content that follows
tool_result messages are merged into the last tool message instead of
being sent as a separate user message.

Fixes #10540
2026-01-10 05:40:55 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud ux: Provider-centric signup (#10306) 2025-12-23 14:59:29 -08:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core Add some slash commands that are useful for cli development (#10586) 2026-01-09 13:12:22 -08:00
evals Add an option to use our cli for evals (#10456) 2026-01-05 11:33:19 -08:00
ipc Better IPC error logging (#9727) 2025-12-01 15:02:34 -08:00
telemetry feat(telemetry): add PostHog exception tracking for consecutive mistake errors (#10193) 2025-12-18 12:59:37 -08:00
types feat: add strict tool message ordering setting for OpenAI Compatible providers 2026-01-10 05:40:55 +00:00
vscode-shim Add some functionality to @roo-code/core for the cli (#10584) 2026-01-09 13:05:15 -08:00