Commit 169a4b9d authored by cagedbird043's avatar cagedbird043
Browse files

feat: 补齐 OpenAI OpenCode 模板模型配置

parent 15f3ffb1
...@@ -534,8 +534,104 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin ...@@ -534,8 +534,104 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin
} }
} }
const openaiModels = { const openaiModels = {
'gpt-5-codex': {
name: 'GPT-5 Codex',
limit: {
context: 400000,
output: 128000
},
options: {
store: false
},
variants: {
low: {},
medium: {},
high: {}
}
},
'gpt-5.1-codex': {
name: 'GPT-5.1 Codex',
limit: {
context: 400000,
output: 128000
},
options: {
store: false
},
variants: {
low: {},
medium: {},
high: {}
}
},
'gpt-5.1-codex-max': {
name: 'GPT-5.1 Codex Max',
limit: {
context: 400000,
output: 128000
},
options: {
store: false
},
variants: {
low: {},
medium: {},
high: {}
}
},
'gpt-5.1-codex-mini': {
name: 'GPT-5.1 Codex Mini',
limit: {
context: 400000,
output: 128000
},
options: {
store: false
},
variants: {
low: {},
medium: {},
high: {}
}
},
'gpt-5.2': {
name: 'GPT-5.2',
limit: {
context: 400000,
output: 128000
},
options: {
store: false
},
variants: {
low: {},
medium: {},
high: {},
xhigh: {}
}
},
'gpt-5.3-codex-spark': { 'gpt-5.3-codex-spark': {
name: 'GPT-5.3 Codex Spark', name: 'GPT-5.3 Codex Spark',
limit: {
context: 128000,
output: 32000
},
options: {
store: false
},
variants: {
low: {},
medium: {},
high: {},
xhigh: {}
}
},
'gpt-5.3-codex': {
name: 'GPT-5.3 Codex',
limit: {
context: 400000,
output: 128000
},
options: { options: {
store: false store: false
}, },
...@@ -548,6 +644,10 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin ...@@ -548,6 +644,10 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin
}, },
'gpt-5.2-codex': { 'gpt-5.2-codex': {
name: 'GPT-5.2 Codex', name: 'GPT-5.2 Codex',
limit: {
context: 400000,
output: 128000
},
options: { options: {
store: false store: false
}, },
...@@ -557,6 +657,21 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin ...@@ -557,6 +657,21 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin
high: {}, high: {},
xhigh: {} xhigh: {}
} }
},
'codex-mini-latest': {
name: 'Codex Mini',
limit: {
context: 200000,
output: 100000
},
options: {
store: false
},
variants: {
low: {},
medium: {},
high: {}
}
} }
} }
const geminiModels = { const geminiModels = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment