feat: 完善词典子图,添加API调用和前端格式化工具
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m5s

- 完善词典子图:添加生词本功能
- 创建API调用工具:dictionary_api
- 添加前端格式化展示工具:result_formatter.py
- 创建通讯录和资讯子图的基本结构
- 更新主图状态结构,添加MainGraphState
- 添加subgraph_builder.py用于子图集成
This commit is contained in:
2026-04-25 18:29:23 +08:00
parent 03ba825645
commit a14744f18b
17 changed files with 2057 additions and 18 deletions

View File

@@ -3,6 +3,19 @@ Graph 子模块
"""
from .graph_builder import GraphBuilder
from .state import MessagesState, GraphContext
from .subgraph_builder import build_main_graph
from .state import (
MessagesState,
GraphContext,
MainGraphState,
CurrentAction
)
__all__ = ["GraphBuilder", "MessagesState", "GraphContext"]
__all__ = [
"GraphBuilder",
"build_main_graph",
"MessagesState",
"GraphContext",
"MainGraphState",
"CurrentAction"
]