|
|
26f872f975
|
refactor: 重写 intent.py,使用真实 LLM 服务进行 React 模式推理
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m38s
- 重写 intent.py,整合 chat_services.py
- 支持 LLM 推理 + 规则降级策略
- 支持子图路由(contact/dictionary/news_analysis)
- 保持与现有 react_nodes.py 兼容
- 更新 react_nodes.py 以更好地处理新的接口
|
2026-04-26 23:27:22 +08:00 |
|
|
|
5a67a77c95
|
refactor: 真正利用已有 RAG 代码重构 rag_nodes.py
构建并部署 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 节点拆分为独立模块
构建并部署 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 |
|
|
|
e3adb45454
|
feat: 实现 React 模式循环推理,带超时重试和结构化错误处理
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m15s
- 更新 intent.py 为 React 模式推理器
- 新增 react_nodes.py: React 模式节点
- 新增 retry_utils.py: 超时和重试工具
- 更新 state.py: 支持循环步数和错误记录
- 重写 subgraph_builder.py: 完整 React 循环流程
- 结构化错误输出,符合 Agent 执行循环最佳实践
- 限制最大推理步数 ≤40,防止无限循环
- RAG 检索带重试和超时保护
- 子图错误可传递给主图处理
|
2026-04-26 11:14:04 +08:00 |
|
|
|
a14744f18b
|
feat: 完善词典子图,添加API调用和前端格式化工具
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m5s
- 完善词典子图:添加生词本功能
- 创建API调用工具:dictionary_api
- 添加前端格式化展示工具:result_formatter.py
- 创建通讯录和资讯子图的基本结构
- 更新主图状态结构,添加MainGraphState
- 添加subgraph_builder.py用于子图集成
|
2026-04-25 18:29:23 +08:00 |
|
|
|
efa8bbcd03
|
添加配置
构建并部署 AI Agent 服务 / deploy (push) Failing after 5m11s
|
2026-04-21 22:07:20 +08:00 |
|
|
|
aa8072369c
|
添加配置
|
2026-04-21 21:55:31 +08:00 |
|
|
|
8b354b7ccc
|
重构代码,统一config配置
构建并部署 AI Agent 服务 / deploy (push) Failing after 47m14s
|
2026-04-21 11:02:16 +08:00 |
|