feat: 删除聊天记录接口
This commit is contained in:
@@ -159,7 +159,7 @@ def add_langgraph_chat_route(app: FastAPI):
|
||||
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():
|
||||
|
||||
|
||||
Reference in New Issue
Block a user