From 3c67e1f220df9cbd6f7beaa5b9c57a58f1f07c43 Mon Sep 17 00:00:00 2001 From: martsforever Date: Thu, 4 Sep 2025 16:25:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/add_langgraph_chat_route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/add_langgraph_chat_route.py b/app/controller/add_langgraph_chat_route.py index a2ec134..7c5b356 100644 --- a/app/controller/add_langgraph_chat_route.py +++ b/app/controller/add_langgraph_chat_route.py @@ -243,7 +243,7 @@ def add_langgraph_chat_route(app: FastAPI): # 删除聊天记录 @app.post("/langgraph/chat_remove/{thread_id}") - async def langgraph_chat(thread_id: str, checkpointer: AsyncPostgresSaverDep, session=AsyncSessionDep): + async def langgraph_chat(thread_id: str, checkpointer: AsyncPostgresSaverDep, session: AsyncSessionDep): await ConversationService.item_delete(session=session, row_dict={"id": thread_id}) await checkpointer.adelete_thread(thread_id) return {"result": "success"}