From 7666bdbabfb929f98e94310dbe99eabb435898a2 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期二, 07 一月 2025 15:03:07 +0800 Subject: [PATCH] tmp --- app/api/v2/chat.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/app/api/v2/chat.py b/app/api/v2/chat.py index d656655..95d2962 100644 --- a/app/api/v2/chat.py +++ b/app/api/v2/chat.py @@ -12,4 +12,4 @@ @chat1_router.get("/chat_dialog") async def api_chat_dialog(dialog: ChatDialogData, db: Session = Depends(get_db), current_user: UserModel = Depends(get_current_user)): - return StreamingResponse(await service_chat_dialog(dialog.question, dialog.sessionId), media_type="text/event-stream") \ No newline at end of file + return StreamingResponse(await service_chat_dialog(dialog.chatId ,dialog.question, dialog.sessionId), media_type="text/event-stream") \ No newline at end of file -- Gitblit v1.8.0