Built-in `xiaomi` provider now targets the API billing endpoint (https://api.xiaomimimo.com/anthropic) — a single stable URL for keys issued at platform.xiaomimimo.com. The Token Plan endpoints are exposed as three sibling providers, each with its own env var: - xiaomi-token-plan-cn: XIAOMI_TOKEN_PLAN_CN_API_KEY - xiaomi-token-plan-ams: XIAOMI_TOKEN_PLAN_AMS_API_KEY - xiaomi-token-plan-sgp: XIAOMI_TOKEN_PLAN_SGP_API_KEY BREAKING CHANGE: users who previously set XIAOMI_API_KEY against the Token Plan AMS endpoint must move to xiaomi-token-plan-ams and set XIAOMI_TOKEN_PLAN_AMS_API_KEY. This also resolves the 401 reported by on #4005, where a platform.xiaomimimo.com key fails against the Token Plan endpoint. closes #4082
32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
export const BUILT_IN_PROVIDER_DISPLAY_NAMES: Record<string, string> = {
|
|
anthropic: "Anthropic",
|
|
"amazon-bedrock": "Amazon Bedrock",
|
|
"azure-openai-responses": "Azure OpenAI Responses",
|
|
cerebras: "Cerebras",
|
|
"cloudflare-ai-gateway": "Cloudflare AI Gateway",
|
|
"cloudflare-workers-ai": "Cloudflare Workers AI",
|
|
deepseek: "DeepSeek",
|
|
fireworks: "Fireworks",
|
|
google: "Google Gemini",
|
|
"google-vertex": "Google Vertex AI",
|
|
groq: "Groq",
|
|
huggingface: "Hugging Face",
|
|
"kimi-coding": "Kimi For Coding",
|
|
mistral: "Mistral",
|
|
minimax: "MiniMax",
|
|
"minimax-cn": "MiniMax (China)",
|
|
moonshotai: "Moonshot AI",
|
|
"moonshotai-cn": "Moonshot AI (China)",
|
|
opencode: "OpenCode Zen",
|
|
"opencode-go": "OpenCode Go",
|
|
openai: "OpenAI",
|
|
openrouter: "OpenRouter",
|
|
"vercel-ai-gateway": "Vercel AI Gateway",
|
|
xai: "xAI",
|
|
zai: "ZAI",
|
|
xiaomi: "Xiaomi MiMo",
|
|
"xiaomi-token-plan-cn": "Xiaomi MiMo Token Plan (China)",
|
|
"xiaomi-token-plan-ams": "Xiaomi MiMo Token Plan (Amsterdam)",
|
|
"xiaomi-token-plan-sgp": "Xiaomi MiMo Token Plan (Singapore)",
|
|
};
|