We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff0abac commit 4232e04Copy full SHA for 4232e04
packages/opencode/src/plugin/codex.ts
@@ -366,9 +366,9 @@ export async function CodexAuthPlugin(input: PluginInput): Promise<Hooks> {
366
"gpt-5.1-codex",
367
])
368
for (const modelId of Object.keys(provider.models)) {
369
- if (!allowedModels.has(modelId)) {
370
- delete provider.models[modelId]
371
- }
+ if (modelId.includes("codex")) continue
+ if (allowedModels.has(modelId)) continue
+ delete provider.models[modelId]
372
}
373
374
if (!provider.models["gpt-5.3-codex"]) {
0 commit comments