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

@@ -7,7 +7,7 @@ import json
import asyncio
# 本地模块
from app.main_graph.utils.subgraph_builder import build_react_main_graph
from app.main_graph.utils.main_graph_builder import build_react_main_graph
from app.main_graph.tools.graph_tools import AVAILABLE_TOOLS, TOOLS_BY_NAME
from app.main_graph.config import set_stream_writer
from ..model_services.chat_services import get_all_chat_services, LocalVLLMChatProvider