Roo-Code/webview-ui/src
Roo Code 46ea320821 fix: respect supportsTemperature flag in OpenAI-compatible providers
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
2026-04-21 15:25:56 +00:00
..
__tests__ Add OpenAI's GPT-5.3-Codex model support (#11728) 2026-02-24 14:46:27 -07:00
components fix: respect supportsTemperature flag in OpenAI-compatible providers 2026-04-21 15:25:56 +00:00
context feat: remove Roomote Control from extension (#11271) 2026-02-19 16:33:39 -08:00
hooks fix(chat): redesign rehydration scroll lifecycle (#11483) 2026-02-18 23:51:12 -07:00
i18n fix: respect supportsTemperature flag in OpenAI-compatible providers 2026-04-21 15:25:56 +00:00
lib Add shadcn/ui + Storybook 2025-01-30 12:50:09 -08:00
oauth Remove Glama provider (#9801) 2025-12-10 14:08:29 -08:00
utils feat: add Poe as an AI provider (#12015) 2026-04-05 23:37:29 -04:00
vite-plugins fix: prevent empty mode names from being saved (fixes #5766) (#5767) 2025-08-04 11:03:34 -07:00
App.tsx ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
index.css Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
index.tsx PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
preflight.css Bring most of Tailwind's preflight.css back 2025-02-03 12:18:28 -08:00
types.d.ts Welcome page OAuth (#1913) 2025-03-23 10:08:16 -04:00
vite-env.d.ts Remove lucide 2025-01-30 14:47:59 -08:00