Skip to content

Commit 822bb7b

Browse files
authored
tweak: update gpt subscription model list (#18101)
1 parent 47cf267 commit 822bb7b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/opencode/src/plugin/codex.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,14 @@ export async function CodexAuthPlugin(input: PluginInput): Promise<Hooks> {
360360

361361
// Filter models to only allowed Codex models for OAuth
362362
const allowedModels = new Set([
363+
"gpt-5.1-codex",
363364
"gpt-5.1-codex-max",
364365
"gpt-5.1-codex-mini",
365366
"gpt-5.2",
366-
"gpt-5.4",
367367
"gpt-5.2-codex",
368368
"gpt-5.3-codex",
369-
"gpt-5.1-codex",
369+
"gpt-5.4",
370+
"gpt-5.4-mini",
370371
])
371372
for (const modelId of Object.keys(provider.models)) {
372373
if (modelId.includes("codex")) continue

0 commit comments

Comments
 (0)