opencode2: hide OpenCode Console models after its key expired

Deny provider.use for opencode and disable its free models, so the model
picker no longer offers models that need the removed Console credential.
This commit is contained in:
Lap Tran committed 2026-10-25 13:06:47 -04:00
1 parent 1cd03f93c6
commit 9cb78880ce
1 file changed
+18
+18
View File
@@ -2,6 +2,9 @@
"$schema": "https://opencode.ai/config.json",
"model": "opencode-go/deepseek-v4.1-flash",
"autoupdate": false,
"policies": [
{ "action": "provider.use", "resource": "opencode", "effect": "deny" }
],
"providers": {
"omlx": {
"name": "oMLX (Local)",
@@ -35,6 +38,21 @@
}
}
}
},
"opencode": {
"models": {
"beam-free": { "disabled": true },
"big-pickle": { "disabled": true },
"deepseek-v4.1-flash-free": { "disabled": true },
"glm-5.3-flash-free": { "disabled": true },
"longcat-2.5-preview-free": { "disabled": true },
"mimo-v2.6-flash-free": { "disabled": true },
"muse-spark-1.3-contributor-free": { "disabled": true },
"nemotron-3-ultra-free": { "disabled": true },
"nemotron-3.5-lightning-free": { "disabled": true },
"nemotron-3.5-super-vl-free": { "disabled": true },
"space-bunny-free": { "disabled": true }
}
}
}
}