tweak: update gpt subscription model list (#18101)
This commit is contained in:
@@ -360,13 +360,14 @@ export async function CodexAuthPlugin(input: PluginInput): Promise<Hooks> {
|
|||||||
|
|
||||||
// Filter models to only allowed Codex models for OAuth
|
// Filter models to only allowed Codex models for OAuth
|
||||||
const allowedModels = new Set([
|
const allowedModels = new Set([
|
||||||
|
"gpt-5.1-codex",
|
||||||
"gpt-5.1-codex-max",
|
"gpt-5.1-codex-max",
|
||||||
"gpt-5.1-codex-mini",
|
"gpt-5.1-codex-mini",
|
||||||
"gpt-5.2",
|
"gpt-5.2",
|
||||||
"gpt-5.4",
|
|
||||||
"gpt-5.2-codex",
|
"gpt-5.2-codex",
|
||||||
"gpt-5.3-codex",
|
"gpt-5.3-codex",
|
||||||
"gpt-5.1-codex",
|
"gpt-5.4",
|
||||||
|
"gpt-5.4-mini",
|
||||||
])
|
])
|
||||||
for (const modelId of Object.keys(provider.models)) {
|
for (const modelId of Object.keys(provider.models)) {
|
||||||
if (modelId.includes("codex")) continue
|
if (modelId.includes("codex")) continue
|
||||||
|
|||||||
Reference in New Issue
Block a user