feat: add LionCCAPI provider preset with partner promotion

Add LionCCAPI as a third-party partner provider across all five apps
(Claude, Codex, Gemini, OpenCode, OpenClaw) with anthropic-messages
protocol for OpenCode and OpenClaw. Include partner promotion i18n
entries for zh/en/ja locales and lioncc icon.
This commit is contained in:
Jason
2026-04-10 20:15:42 +08:00
parent af679cda25
commit 84bc98cf83
11 changed files with 137 additions and 3 deletions
+44
View File
@@ -1446,6 +1446,50 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
},
},
},
{
name: "LionCCAPI",
websiteUrl: "https://vibecodingapi.ai",
settingsConfig: {
baseUrl: "https://vibecodingapi.ai",
apiKey: "",
api: "anthropic-messages",
models: [
{
id: "claude-opus-4-6",
name: "Claude Opus 4.6",
contextWindow: 1000000,
cost: { input: 5, output: 25 },
},
{
id: "claude-sonnet-4-6",
name: "Claude Sonnet 4.6",
contextWindow: 1000000,
cost: { input: 3, output: 15 },
},
],
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "lionccapi",
icon: "lioncc",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
suggestedDefaults: {
model: {
primary: "lionccapi/claude-opus-4-6",
fallbacks: ["lionccapi/claude-sonnet-4-6"],
},
modelCatalog: {
"lionccapi/claude-opus-4-6": { alias: "Opus" },
"lionccapi/claude-sonnet-4-6": { alias: "Sonnet" },
},
},
},
// ========== Cloud Providers ==========
{
name: "AWS Bedrock",