修复: ThreadHistoryService 初始化参数错误和 indentation 问题
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 4m50s
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 4m50s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user