mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-04 19:45:34 +08:00
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:
@@ -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" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user