From 82f72adf02bbcca3081abaeb27e1014067e447ba Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 15 十一月 2024 16:04:43 +0800
Subject: [PATCH] 对话列表name值处理为json的情况

---
 app/service/ragflow.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/app/service/ragflow.py b/app/service/ragflow.py
index f4928d4..3c45988 100644
--- a/app/service/ragflow.py
+++ b/app/service/ragflow.py
@@ -99,6 +99,7 @@
                     "updated_time": item["update_time"]
                 }
                 for item in data
+                if "id" in item and "name" in item and item["name"]
             ]
             return result
 

--
Gitblit v1.8.0