@@ -6,8 +6,6 @@ from agent.tools.registry import ToolRegistry, tool, get_tool_registry
from agent.tools.schema import SchemaGenerator
from agent.tools.models import ToolResult, ToolContext, ToolContextImpl
-# 导入工具模块,触发 @tool 装饰器执行,完成工具注册
-import tools # noqa: F401
__all__ = [
"ToolRegistry",
@@ -1,12 +0,0 @@
-"""
-工具模块
-
-导入此模块会自动注册所有工具到全局 ToolRegistry。
-from tools.search import search_posts, search_suggestions
-__all__ = [
- "search_posts",
- "search_suggestions",
-]