feat(ai): add ZAI Coding Plan China provider

This commit is contained in:
弎水
2026-06-02 23:39:56 +08:00
parent e30b1b18d0
commit 51df39b9b9
13 changed files with 155 additions and 28 deletions

View File

@@ -29,6 +29,7 @@ export const defaultModelPerProvider: Record<KnownProvider, string> = {
groq: "openai/gpt-oss-120b",
cerebras: "zai-glm-4.7",
zai: "glm-5.1",
"zai-coding-cn": "glm-5.1",
mistral: "devstral-medium-latest",
minimax: "MiniMax-M2.7",
"minimax-cn": "MiniMax-M2.7",

View File

@@ -27,6 +27,7 @@ export const BUILT_IN_PROVIDER_DISPLAY_NAMES: Record<string, string> = {
"vercel-ai-gateway": "Vercel AI Gateway",
xai: "xAI",
zai: "ZAI",
"zai-coding-cn": "ZAI Coding Plan (China)",
xiaomi: "Xiaomi MiMo",
"xiaomi-token-plan-cn": "Xiaomi MiMo Token Plan (China)",
"xiaomi-token-plan-ams": "Xiaomi MiMo Token Plan (Amsterdam)",