summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-03-18 10:51:39 -0500
committerGitHub <[email protected]>2026-03-18 10:51:39 -0500
commit822bb7b3366d051a6d74657b7764f7f403a0c9a8 (patch)
tree931c0d981fb367671d1d72dbd6025e0868b2aaf5
parent47cf267c232f6e36453eb3c7408c1e4d905a3239 (diff)
downloadopencode-822bb7b3366d051a6d74657b7764f7f403a0c9a8.tar.gz
opencode-822bb7b3366d051a6d74657b7764f7f403a0c9a8.zip
tweak: update gpt subscription model list (#18101)
-rw-r--r--packages/opencode/src/plugin/codex.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/opencode/src/plugin/codex.ts b/packages/opencode/src/plugin/codex.ts
index 37bcdd74f..943295e64 100644
--- a/packages/opencode/src/plugin/codex.ts
+++ b/packages/opencode/src/plugin/codex.ts
@@ -360,13 +360,14 @@ export async function CodexAuthPlugin(input: PluginInput): Promise<Hooks> {
// Filter models to only allowed Codex models for OAuth
const allowedModels = new Set([
+ "gpt-5.1-codex",
"gpt-5.1-codex-max",
"gpt-5.1-codex-mini",
"gpt-5.2",
- "gpt-5.4",
"gpt-5.2-codex",
"gpt-5.3-codex",
- "gpt-5.1-codex",
+ "gpt-5.4",
+ "gpt-5.4-mini",
])
for (const modelId of Object.keys(provider.models)) {
if (modelId.includes("codex")) continue