Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
HF_HOME | No | Cache directory | ~/.cache/huggingface |
LOG_LEVEL | No | Log level (debug, info, warn, error) | info |
HUGGINGFACE_TOKEN | Yes | HuggingFace access token | |
HUGGINGFETCH_DOWNLOAD_DIR | No | Default download directory | ~/Downloads/huggingface_models |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
download_huggingface_model | ⚡ 高速下载 HuggingFace 模型到本地 - 支持并发下载、断点续传、智能重试,比传统方式快3-5倍。可指定文件、分支、筛选模式等高级选项。 |
list_huggingface_files | 列出 HuggingFace 仓库中的所有文件,包括文件路径、大小、类型等详细信息 |