From 59074df021028941ee68492d23e5169920b886c7 Mon Sep 17 00:00:00 2001 From: Test Date: Fri, 20 Mar 2026 12:51:39 -0700 Subject: [PATCH] fix: add dashscope-intl.aliyuncs.com to URL-to-provider mapping The official international DashScope endpoint uses dashscope-intl.aliyuncs.com (per Alibaba docs), which the substring match on dashscope.aliyuncs.com misses because of the hyphenated prefix. --- agent/model_metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/model_metadata.py b/agent/model_metadata.py index bea53611..e3636b6f 100644 --- a/agent/model_metadata.py +++ b/agent/model_metadata.py @@ -160,6 +160,7 @@ _URL_TO_PROVIDER: Dict[str, str] = { "api.kimi.com": "kimi-coding", "api.minimax": "minimax", "dashscope.aliyuncs.com": "alibaba", + "dashscope-intl.aliyuncs.com": "alibaba", "openrouter.ai": "openrouter", "inference-api.nousresearch.com": "nous", "api.deepseek.com": "deepseek",