From 66f5df3ec8004e91ec2f440d69755caa52ac33bd Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 22 十一月 2024 01:22:19 +0800 Subject: [PATCH] 接收excel_talk返回的消息和缓冲区的数据拼接,然后解析JSON。如果解析失败,存入缓存区继续累积,如何解析成功,给前端返回并清空缓冲区。 && 修复 保存会话消息历史不成功的bug --- app/task/fetch_agent.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/app/task/fetch_agent.py b/app/task/fetch_agent.py index 6e80963..a39461a 100644 --- a/app/task/fetch_agent.py +++ b/app/task/fetch_agent.py @@ -116,7 +116,7 @@ ('da3451da89d911efb9490242ac190006', 3, '鐭ヨ瘑闂瓟', 'RAGFLOW', 'knowledgeQA'), ('e96eb7a589db11ef87d20242ac190006', 5, '鏅鸿兘闂瓟', 'RAGFLOW', 'chat'), ('basic_excel_talk', 6, '鏅鸿兘鏁版嵁', 'BASIC', 'excelTalk'), - ('basic_question_talk', 7, '鏂囨。鍑洪', 'BASIC', 'questionTalk') + ('basic_question_talk', 7, '鏂囨。鍑哄嵎', 'BASIC', 'questionTalk') ] for agent in initial_agents: -- Gitblit v1.8.0