feat: 删除聊天记录接口

This commit is contained in:
martsforever
2025-09-04 16:37:14 +08:00
parent 3c67e1f220
commit 920d4f1944
+1 -1
View File
@@ -159,7 +159,7 @@ def add_langgraph_chat_route(app: FastAPI):
print("stream_config", stream_config) print("stream_config", stream_config)
# 暂时每次对话的时候清理掉对话历史 # 暂时每次对话的时候清理掉对话历史
await checkpointer.adelete_thread(stream_config.get('configurable').get('thread_id')) # await checkpointer.adelete_thread(stream_config.get('configurable').get('thread_id'))
async def generator_function(): async def generator_function():