Merge pull request #2278 from NousResearch/hermes/hermes-5d6932ba

fix(setup): add alibaba and deepseek to provider model selection
This commit is contained in:
Teknium 2026-03-20 22:50:18 -07:00 committed by GitHub
commit 6d7f3dbbb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1714,7 +1714,7 @@ def setup_model_provider(config: dict):
model_cfg = _model_config_dict(config) model_cfg = _model_config_dict(config)
model_cfg["api_mode"] = "chat_completions" model_cfg["api_mode"] = "chat_completions"
config["model"] = model_cfg 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( _setup_provider_model_selection(
config, selected_provider, current_model, config, selected_provider, current_model,
prompt_choice, prompt, prompt_choice, prompt,