Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -65,7 +65,7 @@ def process_tool_output(tool_output):
|
|
| 65 |
return str(tool_output)
|
| 66 |
|
| 67 |
@tool
|
| 68 |
-
def CustomDuckDuckGoSearchTool(query:str) -> str:
|
| 69 |
"""
|
| 70 |
Perform a DuckDuckGo search and return a string result.
|
| 71 |
|
|
@@ -82,7 +82,7 @@ def CustomDuckDuckGoSearchTool(query:str) -> str:
|
|
| 82 |
custome_duck_search = CustomDuckDuckGoSearchTool()
|
| 83 |
|
| 84 |
@tool
|
| 85 |
-
def CustomVisitWebpageTool(query:str) -> str:
|
| 86 |
"""
|
| 87 |
Visit a webpage and extract content as a string.
|
| 88 |
|
|
|
|
| 65 |
return str(tool_output)
|
| 66 |
|
| 67 |
@tool
|
| 68 |
+
def CustomDuckDuckGoSearchTool(query: str) -> str:
|
| 69 |
"""
|
| 70 |
Perform a DuckDuckGo search and return a string result.
|
| 71 |
|
|
|
|
| 82 |
custome_duck_search = CustomDuckDuckGoSearchTool()
|
| 83 |
|
| 84 |
@tool
|
| 85 |
+
def CustomVisitWebpageTool(query: str) -> str:
|
| 86 |
"""
|
| 87 |
Visit a webpage and extract content as a string.
|
| 88 |
|