Download astrbot/api/__init__.py from qa1145/astrbbbb: direct link, hf CLI and curl.
- Browser
- Download file 568 Bytes
-
https://huggingface.co/spaces/qa1145/astrbbbb/resolve/main/astrbot/api/__init__.py
- Command line
-
hf download hf://spaces/qa1145/astrbbbb/astrbot/api/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/qa1145/astrbbbb/resolve/main/astrbot/api/__init__.py
568 Bytes
| from astrbot import logger | |
| from astrbot.core import html_renderer, sp | |
| from astrbot.core.agent.tool import FunctionTool, ToolSet | |
| from astrbot.core.agent.tool_executor import BaseFunctionToolExecutor | |
| from astrbot.core.config.astrbot_config import AstrBotConfig | |
| from astrbot.core.star.register import register_agent as agent | |
| from astrbot.core.star.register import register_llm_tool as llm_tool | |
| __all__ = [ | |
| "AstrBotConfig", | |
| "BaseFunctionToolExecutor", | |
| "FunctionTool", | |
| "ToolSet", | |
| "agent", | |
| "html_renderer", | |
| "llm_tool", | |
| "logger", | |
| "sp", | |
| ] | |