Roo-Code/packages/types
Roo Code 4111aa6bcf feat: add strict tool message ordering setting for OpenAI-compatible providers
Adds a new setting `openAiStrictToolMessageOrdering` for OpenAI-compatible providers
that, when enabled, merges text content after tool results into the last tool message
instead of creating a separate user message.

This fixes the "Unexpected role user after role tool" error that occurs with
providers like NVIDIA NIM and Devstral that enforce strict message ordering rules.

Fixes #10540
2026-01-10 05:45:40 +00:00
..
npm Move more types to @roo-code/types (for the cli) (#10583) 2026-01-09 11:59:06 -08:00
scripts Fix publish-npm script (#7093) 2025-08-14 03:17:56 -07:00
src feat: add strict tool message ordering setting for OpenAI-compatible providers 2026-01-10 05:45:40 +00:00
.gitignore Task metadata (#7092) 2025-08-14 03:14:17 -07:00
eslint.config.mjs Task metadata (#7092) 2025-08-14 03:14:17 -07:00
package.json Move more types to @roo-code/types (for the cli) (#10583) 2026-01-09 11:59:06 -08:00
tsconfig.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsup.config.ts Bump @roo-code/types to v1.42.0 (#6610) 2025-08-02 13:27:59 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00