mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -1965,7 +1965,7 @@ async def process_web_search(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
for result in search_results
|
for result in search_results
|
||||||
if hasattr(result, "snippet")
|
if hasattr(result, "snippet") and result.snippet is not None
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
loader = get_web_loader(
|
loader = get_web_loader(
|
||||||
|
|||||||
Reference in New Issue
Block a user