From e49417ee6eecf7f00bd77e01a6b4a1c7a420708b Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期三, 04 十二月 2024 15:08:03 +0800 Subject: [PATCH] 知识库列表获取 --- app/api/chat.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/app/api/chat.py b/app/api/chat.py index 468f617..2cfbf20 100644 --- a/app/api/chat.py +++ b/app/api/chat.py @@ -484,7 +484,7 @@ else: message = answer.get("error", "") - result = {"message": message, "type": "close", "download_url": download_url} + result = {"message": message, "type": "message", "download_url": download_url} try: SessionService(db).update_session(chat_id, message={"role": "assistant", -- Gitblit v1.8.0