Skip to content

Commit

Permalink
Restyled by yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Apr 8, 2024
1 parent 2dec493 commit e11d4f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tiger/tools/search/duckduckgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ def search(query: str, max_number: int = 20) -> list:
:param max_number: int: (Default value = 20)
"""
return [result["href"] for result in DDGS().text(query, max_results=max_number)]
return [
result["href"] for result in DDGS().text(query, max_results=max_number)
]


tool_name = "system.duckduckgo"
Expand Down

0 comments on commit e11d4f4

Please sign in to comment.