From 8ad117a3d6233609d2d67b9f77d43bc39d41accb Mon Sep 17 00:00:00 2001 From: TakeshiSawaguchi <63896140+TakeshiSawaguchi@users.noreply.github.com> Date: Mon, 4 May 2026 10:37:06 +0900 Subject: [PATCH] fix(models): add alibaba-coding-plan to _PROVIDER_MODELS curated list The alibaba-coding-plan provider (DashScope coding-intl endpoint) was defined in providers.py but missing from _PROVIDER_MODELS in models.py. This caused /model to show "0 models" for this provider even though credentials were configured and the provider was functional. Add the curated model list so the provider picker displays available models correctly. --- hermes_cli/models.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hermes_cli/models.py b/hermes_cli/models.py index 40a8f3c107..2e011ef924 100644 --- a/hermes_cli/models.py +++ b/hermes_cli/models.py @@ -416,6 +416,18 @@ _PROVIDER_MODELS: dict[str, list[str]] = { "glm-4.7", "MiniMax-M2.5", ], + # Alibaba Coding Plan — same platform as alibaba (DashScope coding-intl), + # separate provider ID with its own base_url_env_var. + "alibaba-coding-plan": [ + "qwen3.6-plus", + "qwen3.5-plus", + "qwen3-coder-plus", + "qwen3-coder-next", + "kimi-k2.5", + "glm-5", + "glm-4.7", + "MiniMax-M2.5", + ], # Curated HF model list — only agentic models that map to OpenRouter defaults. "huggingface": [ "moonshotai/Kimi-K2.5",