2 Commits

Author SHA1 Message Date
5a67a77c95 refactor: 真正利用已有 RAG 代码重构 rag_nodes.py
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m3s
- 真正导入和使用 backend/app/rag/tools.py
- 添加全局 RAG 工具管理(get/set_global_rag_tool)
- 集成 RAGPipeline,支持多路查询和重排序
- 兼容 rag_initializer.py 的初始化方式
- 移除模拟实现,使用真正的 RAG 功能
2026-04-26 11:25:01 +08:00
aba261df35 refactor: 将 RAG 节点拆分为独立模块
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Has been cancelled
- 新增 rag_nodes.py: 独立的 RAG 检索节点
- 从 react_nodes.py 移除 RAG 相关代码
- 更新导入和导出
- rag_nodes.py 包含 rag_retrieve_node 和 rag_re_retrieve_node
- 添加 inject_rag_tool_to_state 工具函数
2026-04-26 11:23:12 +08:00