修复 AsyncPostgresSaver 导入路径,直接从 langgraph 导入
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Has been cancelled

This commit is contained in:
2026-04-29 19:00:57 +08:00
parent f27474e9f4
commit 0b63f93891

View File

@@ -14,7 +14,7 @@ from fastapi import FastAPI, HTTPException, WebSocket, WebSocketDisconnect, Depe
from fastapi.middleware.cors import CORSMiddleware from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import StreamingResponse from fastapi.responses import StreamingResponse
from pydantic import BaseModel from pydantic import BaseModel
from app.main_graph.checkpoint.postgres.aio import AsyncPostgresSaver from langgraph.checkpoint.postgres.aio import AsyncPostgresSaver
from .agent.service import AIAgentService from .agent.service import AIAgentService
from .agent.history import ThreadHistoryService from .agent.history import ThreadHistoryService
from app.core.human_review import ( from app.core.human_review import (