mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
* fix: omit temperature parameter when not explicitly set for OpenAI Compatible providers - Modified OpenAiHandler to only include temperature when modelTemperature is defined - Modified BaseOpenAiCompatibleProvider to only include temperature when modelTemperature is defined - Added tests to verify temperature is omitted when undefined - Updated existing tests to explicitly set temperature where needed This allows backend services (LiteLLM, vLLM) to use their configured default temperatures instead of being forced to use temperature=0 when "Use custom temperature" is unchecked. Fixes #7187 * test: update tests to match new temperature handling behavior - Remove temperature parameter expectations from provider tests - Tests now expect temperature to be omitted when not explicitly set - Aligns with PR #7188 changes to fix OpenAI Compatible provider behavior --------- Co-authored-by: Roo Code <roomote@roocode.com> Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com> |
||
|---|---|---|
| .. | ||
| providers | ||
| transform | ||
| index.ts | ||