mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 01:53:54 +00:00
* 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
83 lines
2.0 KiB
JSON
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": {}
|
|
}
|
|
}
|