fix(catalog): remove delisted opencode free model

This commit is contained in:
KoNit-K
2026-09-15 17:02:15 +08:00
committed by Teknium
parent cfd752e6f7
commit 4766cb2c0c
2 changed files with 4 additions and 3 deletions

View File

@@ -236,10 +236,10 @@ _PROVIDER_MODELS: dict[str, list[str]] = {
# revalidates live against GET /zen/v1/models and filters to the anonymous tier, so this list
# may lag the relay (intentional). Known-delisted models are REMOVED (the offline fallback must
# not offer a model that 401s; x-preview-f-free delisted 2026-08-26, hy3-free and
# laguna-s-2.1-free delisted 2026-09-09 — both dropped from live /zen/v1/models and 401
# "Model … is not supported" anonymously).
# laguna-s-2.1-free delisted 2026-09-09, and deepseek-v4-flash-free delisted
# 2026-09-15 — all removed from this offline floor after their relay delisting).
"opencode-free": [
"deepseek-v4-flash-free", "mimo-v2.5-free",
"mimo-v2.5-free",
"nemotron-3-ultra-free", "nemotron-3.5-lightning-free", "muse-spark-1.2-contributor-free",
"muse-spark-1.3-contributor-free",
],

View File

@@ -221,3 +221,4 @@ class TestOpencodeFreeFollowUps:
assert "x-preview-f-free" not in _PROVIDER_MODELS["opencode-free"]
assert "hy3-free" not in _PROVIDER_MODELS["opencode-free"]
assert "laguna-s-2.1-free" not in _PROVIDER_MODELS["opencode-free"]
assert "deepseek-v4-flash-free" not in _PROVIDER_MODELS["opencode-free"]