修复重构后的导入错误和缺失模块
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m26s

This commit is contained in:
2026-04-29 17:23:20 +08:00
parent 862fef94dc
commit d6805d1db8
36 changed files with 117 additions and 60 deletions

View File

@@ -6,7 +6,7 @@ Main Graph Builder - Full React Mode with Loop Reasoning
from app.main_graph.graph import StateGraph, START, END
from typing import Dict, Any
from .state import MainGraphState, CurrentAction
from app.main_graph.state import MainGraphState, CurrentAction
from .react_nodes import (
init_state_node,
react_reason_node,
@@ -50,7 +50,7 @@ def wrap_subgraph_for_error_handling(subgraph, name: str):
except Exception as e:
# 捕获子图错误,传递给主图
from .state import ErrorRecord, ErrorSeverity
from app.main_graph.state import ErrorRecord, ErrorSeverity
from datetime import datetime
error_record = ErrorRecord(