From d4ab4357a4eaf61dcab6bba427e620b9c5333e42 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期四, 13 二月 2025 17:45:06 +0800 Subject: [PATCH] tmp --- app/service/v2/chat.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/app/service/v2/chat.py b/app/service/v2/chat.py index 7af7071..d2b8ff7 100644 --- a/app/service/v2/chat.py +++ b/app/service/v2/chat.py @@ -185,6 +185,7 @@ data = ans.get("data", {}) event = smart_workflow_finished node_list.append(ans) + elif ans.get("event") == message_end: event = smart_message_end else: @@ -209,7 +210,7 @@ "error": error}, conversation_id) -async def service_chat_basic(db, chat_id: str, question: str, session_id: str, user_id): +async def service_chat_basic(db, chat_id: str, chat_data: ChatData, session_id: str, user_id, mode: str): ... -- Gitblit v1.8.0