mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
When models like Claude Opus 4.7 are proxied through OpenAI-compatible gateways, sending the temperature parameter causes a 400 error because the model has deprecated it. This change: - Uses the existing supportsTemperature ModelInfo field in model-params.ts to omit temperature when supportsTemperature === false - Adds the same guard in OpenAiHandler, BaseOpenAiCompatibleProvider, and OpenAICompatibleHandler - Adds a "Supports Temperature" checkbox in the OpenAI Compatible settings UI so users can toggle it off for models that need it - Adds test coverage for the new behavior Closes #12162 |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||