mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 09:01:23 +00:00
feat: add support for Moonshot API key for China endpoint
This commit is contained in:
committed by
Peter Steinberger
parent
9f16de2533
commit
1c6b25ddbb
@@ -56,9 +56,9 @@ const AUTH_CHOICE_GROUP_DEFS: {
|
||||
},
|
||||
{
|
||||
value: "moonshot",
|
||||
label: "Moonshot AI",
|
||||
hint: "Kimi K2 + Kimi Coding",
|
||||
choices: ["moonshot-api-key", "kimi-code-api-key"],
|
||||
label: "Moonshot AI (Kimi K2.5)",
|
||||
hint: "Kimi K2.5 + Kimi Coding",
|
||||
choices: ["moonshot-api-key", "moonshot-api-key-cn", "kimi-code-api-key"],
|
||||
},
|
||||
{
|
||||
value: "google",
|
||||
@@ -146,8 +146,15 @@ export function buildAuthChoiceOptions(params: {
|
||||
value: "ai-gateway-api-key",
|
||||
label: "Vercel AI Gateway API key",
|
||||
});
|
||||
options.push({ value: "moonshot-api-key", label: "Moonshot AI API key" });
|
||||
options.push({ value: "kimi-code-api-key", label: "Kimi Coding API key" });
|
||||
options.push({
|
||||
value: "moonshot-api-key",
|
||||
label: "Kimi API key (.ai)",
|
||||
});
|
||||
options.push({
|
||||
value: "moonshot-api-key-cn",
|
||||
label: "Kimi API key (.cn)",
|
||||
});
|
||||
options.push({ value: "kimi-code-api-key", label: "Kimi Code API key (subscription)" });
|
||||
options.push({ value: "synthetic-api-key", label: "Synthetic API key" });
|
||||
options.push({
|
||||
value: "venice-api-key",
|
||||
|
||||
Reference in New Issue
Block a user