Timothy Jaeryang Baek 2 ماه پیش
والد
کامیت
736b29ddca
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      backend/open_webui/routers/retrieval.py

+ 1 - 1
backend/open_webui/routers/retrieval.py

@@ -1965,7 +1965,7 @@ async def process_web_search(
                     },
                 )
                 for result in search_results
-                if hasattr(result, "snippet")
+                if hasattr(result, "snippet") and result.snippet is not None
             ]
         else:
             loader = get_web_loader(