Add SubRouter provider presets (#4522)

Co-authored-by: abingyyds <abingyyds@gmail.com>
This commit is contained in:
abing|web3.club
2026-06-26 23:30:52 +08:00
committed by GitHub
parent 8a91428b71
commit 430ddf92bd
15 changed files with 334 additions and 0 deletions
+36
View File
@@ -294,6 +294,42 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
},
},
},
{
name: "SubRouter",
websiteUrl: "https://subrouter.ai",
apiKeyUrl: "https://subrouter.ai/console/token",
settingsConfig: {
baseUrl: "https://subrouter.ai/v1",
apiKey: "",
api: "openai-completions",
models: [
{
id: "gpt-5.5",
name: "GPT-5.5",
contextWindow: 400000,
},
],
},
category: "aggregator",
isPartner: true,
partnerPromotionKey: "subrouter",
icon: "subrouter",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
suggestedDefaults: {
model: {
primary: "subrouter/gpt-5.5",
},
modelCatalog: {
"subrouter/gpt-5.5": { alias: "GPT-5.5" },
},
},
},
{
name: "Unity2.ai",
websiteUrl: "https://unity2.ai",