Files
openclaw-openclaw/extensions/huggingface/openclaw.plugin.json
Peter Steinberger 80537c1ba4 feat(macos): load provider catalog during AI onboarding (#101132)
* feat(macos): load onboarding providers from gateway

* test(crestodian): widen setup config mock

* fix(crestodian): satisfy onboarding lint gate

* chore(macos): refresh onboarding localization inventory

* test(plugins): cover guided Copilot secret metadata
2026-07-06 20:57:56 +01:00

65 lines
1.7 KiB
JSON

{
"id": "huggingface",
"icon": "https://cdn.simpleicons.org/huggingface",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providers": ["huggingface"],
"modelIdNormalization": {
"providers": {
"huggingface": {
"stripPrefixes": ["huggingface/"]
}
}
},
"setup": {
"providers": [
{
"id": "huggingface",
"envVars": ["HUGGINGFACE_HUB_TOKEN", "HF_TOKEN"]
}
]
},
"providerAuthChoices": [
{
"provider": "huggingface",
"method": "api-key",
"choiceId": "huggingface-api-key",
"appGuidedSecret": true,
"choiceLabel": "Hugging Face API key",
"choiceHint": "Inference API (HF token)",
"groupId": "huggingface",
"groupLabel": "Hugging Face",
"groupHint": "Inference API (HF token)",
"optionKey": "huggingfaceApiKey",
"cliFlag": "--huggingface-api-key",
"cliOption": "--huggingface-api-key <key>",
"cliDescription": "Hugging Face API key (HF token)"
}
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"discovery": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": { "type": "boolean" }
}
}
}
},
"uiHints": {
"discovery": {
"label": "Model Discovery",
"help": "Plugin-owned controls for Hugging Face model auto-discovery."
},
"discovery.enabled": {
"label": "Enable Discovery",
"help": "When false, OpenClaw keeps the Hugging Face plugin available but skips implicit startup discovery from ambient Hugging Face credentials."
}
}
}