Files
openclaw/extensions/cerebras/openclaw.plugin.json
Jason (Json) 55cf9523e0 feat: discover models from live provider catalogs (#112412)
* 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
2026-07-21 19:29:57 -06:00

92 lines
2.0 KiB
JSON

{
"id": "cerebras",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providers": ["cerebras"],
"providerEndpoints": [
{
"endpointClass": "cerebras-native",
"hosts": ["api.cerebras.ai"]
}
],
"providerRequest": {
"providers": {
"cerebras": {
"family": "cerebras"
}
}
},
"modelCatalog": {
"providers": {
"cerebras": {
"baseUrl": "https://api.cerebras.ai/v1",
"api": "openai-completions",
"models": [
{
"id": "zai-glm-4.7",
"name": "Z.ai GLM 4.7",
"input": ["text"],
"reasoning": true,
"contextWindow": 128000,
"maxTokens": 8192,
"cost": {
"input": 2.25,
"output": 2.75,
"cacheRead": 2.25,
"cacheWrite": 2.75
}
},
{
"id": "gpt-oss-120b",
"name": "GPT OSS 120B",
"input": ["text"],
"reasoning": true,
"contextWindow": 128000,
"maxTokens": 8192,
"cost": {
"input": 0.35,
"output": 0.75,
"cacheRead": 0.35,
"cacheWrite": 0.75
}
}
]
}
},
"discovery": {
"cerebras": "refreshable"
}
},
"setup": {
"providers": [
{
"id": "cerebras",
"envVars": ["CEREBRAS_API_KEY"]
}
]
},
"providerAuthChoices": [
{
"provider": "cerebras",
"method": "api-key",
"choiceId": "cerebras-api-key",
"appGuidedSecret": true,
"choiceLabel": "Cerebras API key",
"groupId": "cerebras",
"groupLabel": "Cerebras",
"groupHint": "Fast OpenAI-compatible inference",
"optionKey": "cerebrasApiKey",
"cliFlag": "--cerebras-api-key",
"cliOption": "--cerebras-api-key <key>",
"cliDescription": "Cerebras API key"
}
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}