mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
feat(providers): add gpt-5.2-codex model to openai-native provider (#10731)
This commit is contained in:
parent
4b17f985b4
commit
b04597faa6
1 changed files with 20 additions and 0 deletions
|
|
@ -49,6 +49,26 @@ export const openAiNativeModels = {
|
|||
],
|
||||
description: "GPT-5.2: Our flagship model for coding and agentic tasks across industries",
|
||||
},
|
||||
"gpt-5.2-codex": {
|
||||
maxTokens: 128000,
|
||||
contextWindow: 400000,
|
||||
supportsNativeTools: true,
|
||||
defaultToolProtocol: "native",
|
||||
includedTools: ["apply_patch"],
|
||||
excludedTools: ["apply_diff", "write_to_file"],
|
||||
supportsImages: true,
|
||||
supportsPromptCache: true,
|
||||
promptCacheRetention: "24h",
|
||||
supportsReasoningEffort: ["low", "medium", "high", "xhigh"],
|
||||
reasoningEffort: "medium",
|
||||
inputPrice: 1.75,
|
||||
outputPrice: 14.0,
|
||||
cacheReadsPrice: 0.175,
|
||||
supportsTemperature: false,
|
||||
tiers: [{ name: "priority", contextWindow: 400000, inputPrice: 3.5, outputPrice: 28.0, cacheReadsPrice: 0.35 }],
|
||||
description:
|
||||
"GPT-5.2 Codex: Our most intelligent coding model optimized for long-horizon, agentic coding tasks",
|
||||
},
|
||||
"gpt-5.2-chat-latest": {
|
||||
maxTokens: 16_384,
|
||||
contextWindow: 128_000,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue