Spaces:
Sleeping
Sleeping
Update tool.py
Browse files
tool.py
CHANGED
|
@@ -98,7 +98,7 @@ duckduckgo = DuckDuckGoSearchResults()
|
|
| 98 |
tavily = TavilySearchResults(max_results=3)
|
| 99 |
|
| 100 |
@tool
|
| 101 |
-
def combined_web_search(query: str) ->
|
| 102 |
"""Search Google, DuckDuckGo, and Tavily for a query and return combined results."""
|
| 103 |
|
| 104 |
google_docs = google.invoke(query)[:3]
|
|
|
|
| 98 |
tavily = TavilySearchResults(max_results=3)
|
| 99 |
|
| 100 |
@tool
|
| 101 |
+
def combined_web_search(query: str) -> str:
|
| 102 |
"""Search Google, DuckDuckGo, and Tavily for a query and return combined results."""
|
| 103 |
|
| 104 |
google_docs = google.invoke(query)[:3]
|