feat: update PIPELLM preset with full config, add Codex support and icon

Update base URL to cc-api.pipellm.ai, add complete model definitions
(Opus/Sonnet/Haiku), add Codex preset with custom TOML config, add
pipellm PNG icon, and set apiKeyUrl to referral link.
This commit is contained in:
Jason
2026-04-10 22:09:21 +08:00
parent 7d21663e6d
commit 337224546c
7 changed files with 58 additions and 9 deletions
+13 -4
View File
@@ -1010,30 +1010,38 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
{
name: "PIPELLM",
websiteUrl: "https://www.pipellm.ai",
apiKeyUrl: "https://code.pipellm.ai/login?ref=uvw650za",
settingsConfig: {
baseUrl: "https://api.pipellm.ai",
baseUrl: "https://cc-api.pipellm.ai",
apiKey: "",
api: "anthropic-messages",
models: [
{
id: "claude-opus-4-6",
name: "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",
name: "claude-sonnet-4-6",
contextWindow: 1000000,
cost: { input: 3, output: 15 },
},
{
id: "claude-haiku-4-5-20251001",
name: "claude-haiku-4-5-20251001",
contextWindow: 200000,
cost: { input: 0.8, output: 4 },
},
],
},
category: "aggregator",
icon: "pipellm",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
placeholder: "pipe-...",
editorValue: "",
},
},
@@ -1045,6 +1053,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
modelCatalog: {
"pipellm/claude-opus-4-6": { alias: "Opus" },
"pipellm/claude-sonnet-4-6": { alias: "Sonnet" },
"pipellm/claude-haiku-4-5-20251001": { alias: "Haiku" },
},
},
},