mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
feat: add gpt-5.3-codex model to OpenAI Codex provider (#11225)
feat: add gpt-5.3-codex model and make it default for OpenAI Codex provider Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
parent
f73b103b87
commit
d5b7fdcfa7
2 changed files with 16 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ import type { ModelInfo } from "../model.js"
|
|||
|
||||
export type OpenAiCodexModelId = keyof typeof openAiCodexModels
|
||||
|
||||
export const openAiCodexDefaultModelId: OpenAiCodexModelId = "gpt-5.2-codex"
|
||||
export const openAiCodexDefaultModelId: OpenAiCodexModelId = "gpt-5.3-codex"
|
||||
|
||||
/**
|
||||
* Models available through the Codex OAuth flow.
|
||||
|
|
@ -54,6 +54,20 @@ export const openAiCodexModels = {
|
|||
supportsTemperature: false,
|
||||
description: "GPT-5.1 Codex: GPT-5.1 optimized for agentic coding via ChatGPT subscription",
|
||||
},
|
||||
"gpt-5.3-codex": {
|
||||
maxTokens: 128000,
|
||||
contextWindow: 400000,
|
||||
includedTools: ["apply_patch"],
|
||||
excludedTools: ["apply_diff", "write_to_file"],
|
||||
supportsImages: true,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: ["low", "medium", "high", "xhigh"],
|
||||
reasoningEffort: "medium",
|
||||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
supportsTemperature: false,
|
||||
description: "GPT-5.3 Codex: OpenAI's flagship coding model via ChatGPT subscription",
|
||||
},
|
||||
"gpt-5.2-codex": {
|
||||
maxTokens: 128000,
|
||||
contextWindow: 400000,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ describe("OpenAiCodexHandler.getModel", () => {
|
|||
const handler = new OpenAiCodexHandler({ apiModelId: "not-a-real-model" })
|
||||
const model = handler.getModel()
|
||||
|
||||
expect(model.id).toBe("gpt-5.2-codex")
|
||||
expect(model.id).toBe("gpt-5.3-codex")
|
||||
expect(model.info).toBeDefined()
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue