mirror of https://github.com/Mai-with-u/MaiBot.git
21 lines
374 B
Python
21 lines
374 B
Python
from src.tools.tool_can_use.base_tool import (
|
|
BaseTool,
|
|
register_tool,
|
|
discover_tools,
|
|
get_all_tool_definitions,
|
|
get_tool_instance,
|
|
TOOL_REGISTRY,
|
|
)
|
|
|
|
__all__ = [
|
|
"BaseTool",
|
|
"register_tool",
|
|
"discover_tools",
|
|
"get_all_tool_definitions",
|
|
"get_tool_instance",
|
|
"TOOL_REGISTRY",
|
|
]
|
|
|
|
# 自动发现并注册工具
|
|
discover_tools()
|