Download api/services/tools/tool_labels_service.py from ZHZ1024/dify: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/services/tools/tool_labels_service.py
- Command line
-
hf download hf://spaces/ZHZ1024/dify/api/services/tools/tool_labels_service.py
-
curl -L -o tool_labels_service.py https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/services/tools/tool_labels_service.py
244 Bytes
| from core.tools.entities.tool_entities import ToolLabel | |
| from core.tools.entities.values import default_tool_labels | |
| class ToolLabelsService: | |
| def list_tool_labels(cls) -> list[ToolLabel]: | |
| return default_tool_labels | |