Files
openclaw/extensions/llama-cpp/openclaw.plugin.json
Onur Solmaz c2de3206d4 feat(llama-cpp): support external llama-server
* feat(llama-cpp): add external server provider

* feat(llama-cpp): document external server setup

* refactor(llama-cpp): harden external provider boundaries

* fix(llama-cpp): support external structured output

* fix(llama-cpp): isolate replacement endpoint credentials

* test(llama-cpp): register external live shard

* fix(llama-cpp): preserve explicit endpoint authorization

* fix(llama-cpp): clear disabled inline credentials

* fix(llama-cpp): preserve external local service configs

* test(llama-cpp): cover retained external configs

* test(llama-cpp): cover authorization precedence
2026-08-19 17:32:00 +03:00

91 lines
2.4 KiB
JSON

{
"id": "llama-cpp",
"name": "llama.cpp Provider",
"description": "Managed and external llama.cpp servers for GGUF chat and embeddings.",
"doctorContract": {
"configRepair": true
},
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"autoEnableWhenConfiguredProviders": ["llama-cpp", "llama-server"],
"providers": ["llama-cpp", "llama-server"],
"modelCatalog": {
"discovery": {
"llama-server": "refreshable"
}
},
"providerRequest": {
"providers": {
"llama-cpp": {
"family": "llama-cpp"
},
"llama-server": {
"family": "llama-server",
"openAICompletions": {
"supportsStreamingUsage": true
}
}
}
},
"modelPricing": {
"providers": {
"llama-cpp": {
"external": false
},
"llama-server": {
"external": false
}
}
},
"syntheticAuthRefs": ["llama-cpp", "llama-server"],
"nonSecretAuthMarkers": ["llama-cpp-local", "llama-server-local"],
"setup": {
"providers": [
{
"id": "llama-server",
"envVars": ["LLAMA_SERVER_API_KEY"]
}
]
},
"providerAuthChoices": [
{
"provider": "llama-cpp",
"method": "local",
"choiceId": "llama-cpp",
"appGuidedDiscovery": true,
"appGuidedActionLabel": "Set up model",
"choiceLabel": "Managed local server",
"choiceHint": "Install a verified llama.cpp server and run a private GGUF model managed by OpenClaw",
"groupId": "llama-cpp",
"groupLabel": "Local llama.cpp",
"groupHint": "Managed or external llama.cpp server"
},
{
"provider": "llama-server",
"method": "custom",
"choiceId": "llama-server",
"appGuidedDiscovery": true,
"appGuidedSecret": true,
"choiceLabel": "Existing llama-server",
"choiceHint": "Connect to a llama.cpp server managed outside OpenClaw",
"groupId": "llama-cpp",
"groupLabel": "Local llama.cpp",
"groupHint": "Managed or external llama.cpp server",
"optionKey": "llamaServerApiKey",
"cliFlag": "--llama-server-api-key",
"cliOption": "--llama-server-api-key <key>",
"cliDescription": "llama-server API key"
}
],
"contracts": {
"embeddingProviders": ["local"]
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}