refactor: 重命名文件更清晰,调整最大推理步数为10
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m49s

- subgraph_builder.py → main_graph_builder.py
- service.py → agent_service.py
- 调整 max_steps 从 40 → 10
- 更新所有相关导入
This commit is contained in:
2026-05-01 00:24:00 +08:00
parent 2761eca100
commit 7a08aacced
8 changed files with 7 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ class MainGraphState:
# ========== React 推理专用字段 ==========
reasoning_step: int = 0 # 当前推理步数
max_steps: int = 40 # 最大推理步数(≤40
max_steps: int = 10 # 最大推理步数(≤10
last_action: str = "" # 上一步动作
reasoning_history: List[Dict[str, Any]] = field(default_factory=list) # 推理历史