[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
ebbe2d66d0
commit
88aa3ff451
1 changed files with 3 additions and 1 deletions
|
|
@ -182,7 +182,9 @@ def _fetch_page_text(url: str, max_chars: int = 4000, timeout: int = 10) -> str:
|
|||
return ""
|
||||
|
||||
|
||||
def _web_search(query: str, url: str = "", max_results: int = 5, timeout: int = _EXEC_TIMEOUT) -> str:
|
||||
def _web_search(
|
||||
query: str, url: str = "", max_results: int = 5, timeout: int = _EXEC_TIMEOUT
|
||||
) -> str:
|
||||
"""Search the web using DuckDuckGo and return formatted results.
|
||||
|
||||
If *url* is provided, fetches that page directly (skips search).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue