Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -233,12 +233,12 @@ def get():
|
|
| 233 |
|
| 234 |
@tool
|
| 235 |
def SearchTool(DuckDuckGoSearchTool): query
|
| 236 |
-
|
| 237 |
name = "web_search"
|
| 238 |
description = "Performs a web search for a query and returns a list of the top search results formatted as markdown with page titles and urls."
|
| 239 |
inputs = {"query": {"type": "string", "description": "The search query to perform."}}
|
| 240 |
output_type = "string"
|
| 241 |
-
|
| 242 |
|
| 243 |
search_tool = DuckDuckGoSearchTool()
|
| 244 |
agent = CodeAgent(tools=[search_tool], model=model, add_base_tools=False, verbosity_level=2)
|
|
|
|
| 233 |
|
| 234 |
@tool
|
| 235 |
def SearchTool(DuckDuckGoSearchTool): query
|
| 236 |
+
"""
|
| 237 |
name = "web_search"
|
| 238 |
description = "Performs a web search for a query and returns a list of the top search results formatted as markdown with page titles and urls."
|
| 239 |
inputs = {"query": {"type": "string", "description": "The search query to perform."}}
|
| 240 |
output_type = "string"
|
| 241 |
+
"""
|
| 242 |
|
| 243 |
search_tool = DuckDuckGoSearchTool()
|
| 244 |
agent = CodeAgent(tools=[search_tool], model=model, add_base_tools=False, verbosity_level=2)
|