修复: ThreadHistoryService 初始化参数错误和 indentation 问题
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 4m50s

This commit is contained in:
2026-04-27 18:16:37 +08:00
parent f274df6e3d
commit da4a7b0dd4

View File

@@ -44,8 +44,8 @@ async def lifespan(app: FastAPI):
agent_service = AIAgentService(checkpointer)
await agent_service.initialize()
# 3. 创建历史查询服务
history_service = ThreadHistoryService(checkpointer.conn)
# 3. 创建历史查询服务(保持原有的 checkpointer 参数)
history_service = ThreadHistoryService(checkpointer)
# 3.5 创建子图 Repositories
contact_repo = ContactRepository(checkpointer.conn)