mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 14:11:35 +00:00
* feat: discover models from live provider catalogs * fix(provider-catalog): satisfy current catalog contracts * fix(deps): update fast-uri past new advisory * fix(deps): refresh fast-uri shrinkwraps * fix(openrouter): satisfy provider catalog lint * fix(agents): preserve refreshable catalog metadata * test(agents): keep catalog fallback proof within lint budget * fix(provider-catalog): honor live model contracts * fix(minimax): type discovery headers explicitly * docs(plugin-sdk): define live model discovery contract
72 lines
1.6 KiB
JSON
72 lines
1.6 KiB
JSON
{
|
|
"id": "vercel-ai-gateway",
|
|
"icon": "https://cdn.simpleicons.org/vercel",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providers": ["vercel-ai-gateway"],
|
|
"modelCatalog": {
|
|
"discovery": {
|
|
"vercel-ai-gateway": "refreshable"
|
|
}
|
|
},
|
|
"modelIdNormalization": {
|
|
"providers": {
|
|
"vercel-ai-gateway": {
|
|
"aliases": {
|
|
"opus-4.6": "claude-opus-4-6",
|
|
"sonnet-4.6": "claude-sonnet-4-6"
|
|
},
|
|
"prefixWhenBareAfterAliasStartsWith": [
|
|
{
|
|
"modelPrefix": "claude-",
|
|
"prefix": "anthropic"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"modelPricing": {
|
|
"providers": {
|
|
"vercel-ai-gateway": {
|
|
"openRouter": {
|
|
"passthroughProviderModel": true
|
|
},
|
|
"liteLLM": {
|
|
"passthroughProviderModel": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "vercel-ai-gateway",
|
|
"envVars": ["AI_GATEWAY_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "vercel-ai-gateway",
|
|
"method": "api-key",
|
|
"choiceId": "ai-gateway-api-key",
|
|
"appGuidedSecret": true,
|
|
"choiceLabel": "Vercel AI Gateway API key",
|
|
"groupId": "ai-gateway",
|
|
"groupLabel": "Vercel AI Gateway",
|
|
"groupHint": "API key",
|
|
"optionKey": "aiGatewayApiKey",
|
|
"cliFlag": "--ai-gateway-api-key",
|
|
"cliOption": "--ai-gateway-api-key <key>",
|
|
"cliDescription": "Vercel AI Gateway API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|