Files
openclaw/extensions/longcat/openclaw.plugin.json
Vincent Koc bf8626c0e9 feat(providers): add LongCat API support (#100501)
* fix(ai): honor provider reasoning compatibility

* feat(longcat): add hosted provider plugin

* chore(longcat): register package metadata

* docs(longcat): add provider setup guide

* docs(longcat): document self-hosted model routing

* refactor(longcat): externalize provider plugin

* chore(longcat): add npm release artifacts
2026-07-06 10:07:08 -07:00

83 lines
2.0 KiB
JSON

{
"id": "longcat",
"name": "LongCat",
"description": "OpenClaw LongCat provider plugin.",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providers": ["longcat"],
"providerRequest": {
"providers": {
"longcat": {
"family": "longcat"
}
}
},
"modelCatalog": {
"providers": {
"longcat": {
"baseUrl": "https://api.longcat.chat/openai",
"api": "openai-completions",
"models": [
{
"id": "LongCat-2.0",
"name": "LongCat 2.0",
"reasoning": true,
"input": ["text"],
"contextWindow": 1048576,
"maxTokens": 131072,
"cost": {
"input": 0.75,
"output": 2.95,
"cacheRead": 0.015,
"cacheWrite": 0.75
},
"compat": {
"supportsStore": false,
"supportsDeveloperRole": false,
"supportsReasoningEffort": false,
"supportsUsageInStreaming": false,
"supportsStrictMode": false,
"maxTokensField": "max_tokens",
"requiresReasoningContentOnAssistantMessages": true,
"thinkingFormat": "deepseek"
}
}
]
}
},
"discovery": {
"longcat": "static"
}
},
"setup": {
"providers": [
{
"id": "longcat",
"envVars": ["LONGCAT_API_KEY"]
}
]
},
"providerAuthChoices": [
{
"provider": "longcat",
"method": "api-key",
"choiceId": "longcat-api-key",
"choiceLabel": "LongCat API key",
"groupId": "longcat",
"groupLabel": "LongCat",
"groupHint": "API key",
"optionKey": "longcatApiKey",
"cliFlag": "--longcat-api-key",
"cliOption": "--longcat-api-key <key>",
"cliDescription": "LongCat API key"
}
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}