mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-09 22:31:08 +00:00
feat: add gpt-5.3-codex-spark model to openai codex provider
This commit is contained in:
parent
bfbfaf6d46
commit
56afe932c1
2 changed files with 15 additions and 1 deletions
|
|
@ -68,6 +68,20 @@ export const openAiCodexModels = {
|
|||
supportsTemperature: false,
|
||||
description: "GPT-5.3 Codex: OpenAI's flagship coding model via ChatGPT subscription",
|
||||
},
|
||||
"gpt-5.3-codex-spark": {
|
||||
maxTokens: 128000,
|
||||
contextWindow: 400000,
|
||||
includedTools: ["apply_patch"],
|
||||
excludedTools: ["apply_diff", "write_to_file"],
|
||||
supportsImages: true,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: ["low", "medium", "high"],
|
||||
reasoningEffort: "medium",
|
||||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
supportsTemperature: false,
|
||||
description: "GPT-5.3 Codex Spark: Fast, lightweight coding model via ChatGPT subscription",
|
||||
},
|
||||
"gpt-5.2-codex": {
|
||||
maxTokens: 128000,
|
||||
contextWindow: 400000,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
import { OpenAiCodexHandler } from "../openai-codex"
|
||||
|
||||
describe("OpenAiCodexHandler.getModel", () => {
|
||||
it.each(["gpt-5.1", "gpt-5", "gpt-5.1-codex", "gpt-5-codex", "gpt-5-codex-mini"])(
|
||||
it.each(["gpt-5.1", "gpt-5", "gpt-5.1-codex", "gpt-5-codex", "gpt-5-codex-mini", "gpt-5.3-codex-spark"])(
|
||||
"should return specified model when a valid model id is provided: %s",
|
||||
(apiModelId) => {
|
||||
const handler = new OpenAiCodexHandler({ apiModelId })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue