mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
f923a85f40
commit
736b29ddca
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue