重构:继续移除对 debug_info 的依赖,主要模块已完成迁移
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 7m28s

This commit is contained in:
2026-05-06 14:47:51 +08:00
parent dceb9061e8
commit 304e1318e5
3 changed files with 7 additions and 7 deletions

View File

@@ -219,11 +219,11 @@ def route_from_hybrid_decision(state: MainGraphState) -> str:
def check_fast_path_success(state: MainGraphState) -> str:
"""检查快速路径是否成功"""
if state.debug_info.get("fast_path_failed"):
"""检查快速路径是否成功 - 使用新的结构化字段"""
if state.fast_path.failed:
info("[Fast Path Check] 快速路径失败,升级到 React 循环")
return "escalate"
info("[Fast Path Check] 快速路径成功,进入 llm_call")
return "llm_call"