ForcePilot/backend/package/yuxi/agents/toolkits/__init__.py

26 lines
567 B
Python
Raw Normal View History

# toolkits 包
2026-03-04 04:13:05 +08:00
# 触发各模块的 @tool 装饰器执行,自动注册工具
from . import buildin, debug
2026-03-04 04:13:05 +08:00
# 工具获取函数
from .kbs import get_common_kb_tools
from .registry import (
ToolExtraMetadata,
get_all_extra_metadata,
get_all_tool_instances,
get_extra_metadata,
tool,
)
__all__ = [
"get_extra_metadata",
"get_all_extra_metadata",
"get_all_tool_instances",
"ToolExtraMetadata",
"tool",
"get_common_kb_tools",
2026-03-04 04:13:05 +08:00
# 触发各模块的 @tool 装饰器执行,自动注册工具
"buildin",
"debug",
]