UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

72 lines (71 loc) 1.69 kB
{ "id": "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", "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." } } }