Skip to content

Commit 7b913ed

Browse files
committed
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
1 parent 702b269 commit 7b913ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/types/src/providers/openai.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export const openAiNativeModels = {
8282
cacheReadsPrice: 0.13,
8383
description: "GPT-5-Codex: A version of GPT-5 optimized for agentic coding in Codex",
8484
supportsVerbosity: true,
85-
supportsTemperature: false,
8685
},
8786
"gpt-4.1": {
8887
maxTokens: 32_768,

0 commit comments

Comments
 (0)