feat(openai): 支持 gpt-5.3-codex-spark 并统一 gpt-5.3 到 codex 计费

This commit is contained in:
yangjianbo
2026-02-13 09:28:07 +08:00
parent abf5de69fb
commit 3734abed4c
8 changed files with 131 additions and 59 deletions

View File

@@ -534,6 +534,18 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin
}
}
const openaiModels = {
'gpt-5.3-codex-spark': {
name: 'GPT-5.3 Codex Spark',
options: {
store: false
},
variants: {
low: {},
medium: {},
high: {},
xhigh: {}
}
},
'gpt-5.2-codex': {
name: 'GPT-5.2 Codex',
options: {