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:
BiuBiu_HuandClaude Opus 4.5 committed 2026-02-26 08:05:05 +08:00
1 parent b0ec81f4a5
commit d14c18f77f
9 files changed
+13 -20

No files matched your search

+1 -1
View File
@@ -464,7 +464,7 @@ async function testApiKeyConnection(connection) {
return { valid, error: valid ? null : "Invalid API key" };
}
case "alicloud": {
case "alicode": {
// 阿里云百炼 Coding Plan uses OpenAI-compatible API
const res = await fetch("https://coding.dashscope.aliyuncs.com/v1/chat/completions", {
method: "POST",