From b0cb81a08984a9711d309c0eb24b8f80258bf234 Mon Sep 17 00:00:00 2001 From: Teknium Date: Fri, 24 Apr 2026 02:58:04 -0700 Subject: [PATCH] fix(auth): route alibaba_coding* aliases through resolve_provider The aliases were added to hermes_cli/providers.py but auth.py has its own _PROVIDER_ALIASES table inside resolve_provider() that is consulted before PROVIDER_REGISTRY lookup. Without this, provider: alibaba_coding in config.yaml (the exact repro from #14940) raised 'Unknown provider'. Mirror the three aliases into auth.py so resolve_provider() accepts them. --- hermes_cli/auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hermes_cli/auth.py b/hermes_cli/auth.py index 9a6723c65..847513efd 100644 --- a/hermes_cli/auth.py +++ b/hermes_cli/auth.py @@ -1032,6 +1032,8 @@ def resolve_provider( "step": "stepfun", "stepfun-coding-plan": "stepfun", "arcee-ai": "arcee", "arceeai": "arcee", "minimax-china": "minimax-cn", "minimax_cn": "minimax-cn", + "alibaba_coding": "alibaba-coding-plan", "alibaba-coding": "alibaba-coding-plan", + "alibaba_coding_plan": "alibaba-coding-plan", "claude": "anthropic", "claude-code": "anthropic", "github": "copilot", "github-copilot": "copilot", "github-models": "copilot", "github-model": "copilot",