feat: add alibaba cloud coding plan provider support (#465)

Co-authored-by: dtk <git@derzsi.cloud>
This commit is contained in:
dtk
2026-03-19 05:48:23 +01:00
committed by GitHub
parent 0e5e8bf14e
commit 3d0c8d8d45
5 changed files with 64 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
# Changelog
## [Unreleased]
## [Unreleased] - 2026-03-19
### ✨ Features
- **feat(providers)**: Added Alibaba Cloud Coding Plan support with two OpenAI-compatible endpoints — `alicode` (China) and `alicode-intl` (International), each with 8 models.
---

View File

@@ -699,6 +699,46 @@ export const REGISTRY: Record<string, RegistryEntry> = {
],
},
alicode: {
id: "alicode",
alias: "alicode",
format: "openai",
executor: "default",
baseUrl: "https://coding.dashscope.aliyuncs.com/v1/chat/completions",
authType: "apikey",
authHeader: "bearer",
models: [
{ id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
{ id: "kimi-k2.5", name: "Kimi K2.5" },
{ id: "glm-5", name: "GLM 5" },
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" },
{ id: "qwen3-max-2026-01-23", name: "Qwen3 Max" },
{ id: "qwen3-coder-next", name: "Qwen3 Coder Next" },
{ id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
{ id: "glm-4.7", name: "GLM 4.7" },
],
},
"alicode-intl": {
id: "alicode-intl",
alias: "alicode-intl",
format: "openai",
executor: "default",
baseUrl: "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions",
authType: "apikey",
authHeader: "bearer",
models: [
{ id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
{ id: "kimi-k2.5", name: "Kimi K2.5" },
{ id: "glm-5", name: "GLM 5" },
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" },
{ id: "qwen3-max-2026-01-23", name: "Qwen3 Max" },
{ id: "qwen3-coder-next", name: "Qwen3 Coder Next" },
{ id: "qwen3-coder-plus", name: "Qwen3 Coder Plus" },
{ id: "glm-4.7", name: "GLM 4.7" },
],
},
deepseek: {
id: "deepseek",
alias: "ds",

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -53,6 +53,7 @@ export const OAUTH_PROVIDERS = {
},
};
// API Key Providers
export const APIKEY_PROVIDERS = {
openrouter: {
id: "openrouter",
@@ -100,6 +101,24 @@ export const APIKEY_PROVIDERS = {
textIcon: "MC",
website: "https://www.minimaxi.com",
},
alicode: {
id: "alicode",
alias: "alicode",
name: "Alibaba",
icon: "cloud",
color: "#FF6A00",
textIcon: "ALi",
website: "https://bailian.console.aliyun.com",
},
"alicode-intl": {
id: "alicode-intl",
alias: "alicode-intl",
name: "Alibaba Intl",
icon: "cloud",
color: "#FF6A00",
textIcon: "ALi",
website: "https://modelstudio.console.alibabacloud.com",
},
openai: {
id: "openai",
alias: "openai",