fix: enable temperature support for gpt-5-codex model

The gpt-5-codex model was incorrectly configured with supportsTemperature: false,
which prevented it from properly handling tool usage requests. This fix removes
the temperature restriction, allowing gpt-5-codex to behave consistently with
other GPT-5 models.

Fixes #8407
This commit is contained in:
Roo Code 2025-09-30 09:04:25 +00:00
parent 702b269a1b
commit 7b913edae9

View file

@ -82,7 +82,6 @@ export const openAiNativeModels = {
cacheReadsPrice: 0.13,
description: "GPT-5-Codex: A version of GPT-5 optimized for agentic coding in Codex",
supportsVerbosity: true,
supportsTemperature: false,
},
"gpt-4.1": {
maxTokens: 32_768,