We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaee5fb commit e6e9c15Copy full SHA for e6e9c15
1 file changed
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