fix(models): live-first merge + update opencode-zen catalog + uncap aggregator picker

This commit is contained in:
Afnath Ahamed
2026-06-19 17:41:34 +05:30
committed by Teknium
parent 2e7e600eaa
commit f98ffbc246
5 changed files with 110 additions and 26 deletions
@@ -114,8 +114,8 @@ class TestProviderModelIdsPreferred:
patch("providers.base.ProviderProfile.fetch_models", return_value=["kimi-k2.6"]),
):
out = provider_model_ids("kimi-coding")
# Curated-first order; curated newest (k2.7-code) stays ahead of live.
assert out[:2] == ["kimi-k2.7-code", "kimi-k2.6"]
# Live-first order; live entry (k2.6) comes before curated-only (k2.7-code).
assert out[:2] == ["kimi-k2.6", "kimi-k2.7-code"]
def test_kimi_setup_flow_uses_same_coding_plan_catalog(self):
"""The setup wizard must not carry a stale duplicate Kimi model list."""