From 7b913edae9ddbc357720510af03e3c8150ca00e6 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Tue, 30 Sep 2025 09:04:25 +0000 Subject: [PATCH] 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 --- packages/types/src/providers/openai.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/types/src/providers/openai.ts b/packages/types/src/providers/openai.ts index a3eed1b57c..a44b6321e0 100644 --- a/packages/types/src/providers/openai.ts +++ b/packages/types/src/providers/openai.ts @@ -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,