mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
refactor: rename provider to alicode (Aliyun Coding)
Rename alicloud to alicode to clearly indicate Aliyun's Coding Plan service. - Provider ID: alicode (short for Aliyun Coding) - Model format: alicode/qwen3.5-plus - Simplified mapping - no more bidirectional aliases Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
b0ec81f4a5
commit
d14c18f77f
@@ -175,7 +175,7 @@ export const PROVIDERS = {
|
||||
},
|
||||
clientVersion: "1.1.3"
|
||||
},
|
||||
alicloud: {
|
||||
alicode: {
|
||||
baseUrl: "https://coding.dashscope.aliyuncs.com/v1/chat/completions",
|
||||
format: "openai",
|
||||
headers: {}
|
||||
|
||||
@@ -160,7 +160,7 @@ export const PROVIDER_MODELS = {
|
||||
"minimax-cn": [
|
||||
{ id: "MiniMax-M2.1", name: "MiniMax M2.1" },
|
||||
],
|
||||
alicloud: [
|
||||
alicode: [
|
||||
{ id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
|
||||
{ id: "kimi-k2.5", name: "Kimi K2.5" },
|
||||
{ id: "glm-5", name: "GLM 5" },
|
||||
@@ -223,7 +223,7 @@ export const PROVIDER_ID_TO_ALIAS = {
|
||||
kimi: "kimi",
|
||||
minimax: "minimax",
|
||||
"minimax-cn": "minimax-cn",
|
||||
alicloud: "alicloud",
|
||||
alicode: "alicode",
|
||||
};
|
||||
|
||||
export function getModelsByProviderId(providerId) {
|
||||
|
||||
Reference in New Issue
Block a user