mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
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:
parent
900e848522
commit
59074df021
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue