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

@@ -19,7 +19,7 @@ load_dotenv()
from backend.app.config import DB_URI
from langgraph.checkpoint.postgres.aio import AsyncPostgresSaver
from backend.app.agent.service import AIAgentService
from backend.app.agent.agent_service import AIAgentService
from backend.app.agent.history import ThreadHistoryService
from backend.app.logger import info, warning, error