尝试整合工具和插件系统

This commit is contained in:
Windpicker-owo
2025-07-26 18:37:29 +08:00
parent 5182609ca4
commit 44d86c8847
18 changed files with 165 additions and 706 deletions

View File

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