Timothy Jaeryang Baek 1 tháng trước cách đây
mục cha
commit
02479425a5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      backend/open_webui/retrieval/web/main.py

+ 1 - 1
backend/open_webui/retrieval/web/main.py

@@ -11,7 +11,7 @@ def get_filtered_results(results, filter_list):
         return results
     filtered_results = []
     for result in results:
-        url = result.get("url") or result.get("link", "")
+        url = result.get("url") or result.get("link", "") or result.get("href", "")
         if not validators.url(url):
             continue
         domain = urlparse(url).netloc