refactor: 重构目录结构 - 简化层级
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Has been cancelled

This commit is contained in:
2026-04-29 12:52:41 +08:00
parent 223d1c9afd
commit ef5113bffb
54 changed files with 42 additions and 1819 deletions

View File

@@ -0,0 +1,17 @@
"""
工具定义模块 - 子图工具 + RAG 工具
Subgraph Tools + RAG Tools
"""
# 子图工具
from .subgraph_tools import (
SUBGRAPH_TOOLS,
SUBGRAPH_TOOLS_BY_NAME,
dictionary_tool,
news_analysis_tool,
contact_tool
)
# 工具列表和映射(全局常量)
AVAILABLE_TOOLS = SUBGRAPH_TOOLS.copy()
TOOLS_BY_NAME = SUBGRAPH_TOOLS_BY_NAME.copy()