fix(alicode-intl): split into Coding Plan + Model Studio providers

8b9cac1 swapped alicode-intl to the DashScope compatible-mode endpoint to
fix #2591 for standard DashScope keys, but that broke Coding Plan keys
(sk-sp-...) which only work on coding-intl.dashscope.aliyuncs.com. The two
key types use two different hosts and are not interchangeable.

- alicode-intl: revert to coding-intl endpoint (Coding Plan keys)
- alims-intl: new provider for dashscope-intl/compatible-mode (standard keys)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
decolua
2026-07-19 16:29:55 +07:00
co-authored by Claude Fable 5
parent c4a120af8f
commit 55628eea02
9 changed files with 86 additions and 19 deletions
+2
View File
@@ -98,6 +98,7 @@
"idToAlias": {
"alicode": "alicode",
"alicode-intl": "alicode-intl",
"alims-intl": "alims-intl",
"anthropic": "anthropic",
"antigravity": "ag",
"assemblyai": "assemblyai",
@@ -168,6 +169,7 @@
"ag",
"alicode",
"alicode-intl",
"alims-intl",
"anthropic",
"assemblyai",
"black-forest-labs",
+9 -1
View File
@@ -1,6 +1,6 @@
{
"alicode-intl": {
"baseUrl": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions",
"baseUrl": "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions",
"headers": {},
"quirks": {
"preserveCacheControl": true
@@ -872,5 +872,13 @@
}
}
]
},
"alims-intl": {
"baseUrl": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions",
"headers": {},
"quirks": {
"preserveCacheControl": true
},
"format": "openai"
}
}