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.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user