Spaces:
Runtime error
Runtime error
Update tools.py
Browse files
tools.py
CHANGED
|
@@ -36,7 +36,6 @@ def summarize_text(text: str, max_length: int = 150) -> str:
|
|
| 36 |
|
| 37 |
@tool
|
| 38 |
def duckduckgo_search(query: str, max_results: int = 3) -> str:
|
| 39 |
-
def duckduckgo_search(query: str, max_results: int = 3) -> str:
|
| 40 |
"""
|
| 41 |
Performs a search on DuckDuckGo and returns the results.
|
| 42 |
|
|
|
|
| 36 |
|
| 37 |
@tool
|
| 38 |
def duckduckgo_search(query: str, max_results: int = 3) -> str:
|
|
|
|
| 39 |
"""
|
| 40 |
Performs a search on DuckDuckGo and returns the results.
|
| 41 |
|