improve codex model list
parent
aaee5fb680
commit
e6e9c15d34
|
|
@ -366,10 +366,10 @@ export async function CodexAuthPlugin(input: PluginInput): Promise<Hooks> {
|
|||
"gpt-5.1-codex",
|
||||
])
|
||||
for (const modelId of Object.keys(provider.models)) {
|
||||
if (!allowedModels.has(modelId)) {
|
||||
if (modelId.includes("codex")) continue
|
||||
if (allowedModels.has(modelId)) continue
|
||||
delete provider.models[modelId]
|
||||
}
|
||||
}
|
||||
|
||||
if (!provider.models["gpt-5.3-codex"]) {
|
||||
const model = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue