From 71cf7ad11accd66e2af849ef9f9456586357716b Mon Sep 17 00:00:00 2001 From: Test Date: Fri, 20 Mar 2026 22:48:01 -0700 Subject: [PATCH] fix(setup): add alibaba to provider model selection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same bug as opencode-zen/go — alibaba fell through to the OpenRouter model list instead of using _setup_provider_model_selection() which probes the provider's own /models endpoint. All user-selectable providers now have correct model selection routing. --- hermes_cli/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermes_cli/setup.py b/hermes_cli/setup.py index d95a0bd1..09aefa43 100644 --- a/hermes_cli/setup.py +++ b/hermes_cli/setup.py @@ -1714,7 +1714,7 @@ def setup_model_provider(config: dict): model_cfg = _model_config_dict(config) model_cfg["api_mode"] = "chat_completions" config["model"] = model_cfg - elif selected_provider in ("copilot", "zai", "kimi-coding", "minimax", "minimax-cn", "kilocode", "ai-gateway", "opencode-zen", "opencode-go"): + elif selected_provider in ("copilot", "zai", "kimi-coding", "minimax", "minimax-cn", "kilocode", "ai-gateway", "opencode-zen", "opencode-go", "alibaba"): _setup_provider_model_selection( config, selected_provider, current_model, prompt_choice, prompt,