找回原来的tools文件夹

This commit is contained in:
Windpicker-owo
2025-07-27 00:02:40 +08:00
parent d31b1c191a
commit fa7b9dd7d8
8 changed files with 939 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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()