mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
chore: format
This commit is contained in:
parent
5d3db15eca
commit
c0ca447041
1 changed files with 2 additions and 1 deletions
|
|
@ -730,6 +730,7 @@ def validate_url(url: Union[str, Sequence[str]]):
|
|||
else:
|
||||
return False
|
||||
|
||||
|
||||
def search_web(engine: str, query: str) -> list[SearchResult]:
|
||||
"""Search the web using a search engine and return the results as a list of SearchResult objects.
|
||||
Will look for a search engine API key in environment variables in the following order:
|
||||
|
|
|
|||
Loading…
Reference in a new issue