From 93f9d6fc8738c579cb815084654f6663debd80ae Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 15 十一月 2024 15:51:59 +0800
Subject: [PATCH] 对话列表过滤name空数据

---
 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