We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cb7df7 commit 3533f33Copy full SHA for 3533f33
1 file changed
packages/opencode/src/provider/provider.ts
@@ -1082,7 +1082,10 @@ export namespace Provider {
1082
1083
for (const [modelID, model] of Object.entries(provider.models)) {
1084
model.api.id = model.api.id ?? model.id ?? modelID
1085
- if (modelID === "gpt-5-chat-latest" || (providerID === ProviderID.openrouter && modelID === "openai/gpt-5-chat"))
+ if (
1086
+ modelID === "gpt-5-chat-latest" ||
1087
+ (providerID === ProviderID.openrouter && modelID === "openai/gpt-5-chat")
1088
+ )
1089
delete provider.models[modelID]
1090
if (model.status === "alpha" && !Flag.OPENCODE_ENABLE_EXPERIMENTAL_MODELS) delete provider.models[modelID]
1091
if (model.status === "deprecated") delete provider.models[modelID]
0 commit comments