Spaces:
Configuration error
Configuration error
oremaz
commited on
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -252,9 +252,7 @@ extract_url_tool = FunctionTool.from_defaults(
|
|
| 252 |
fn=search_and_extract_top_url,
|
| 253 |
name="extract_url_tool",
|
| 254 |
description=(
|
| 255 |
-
"Use this tool ONLY when you need to find a relevant URL to answer a question but no "
|
| 256 |
-
"specific file, document, or URL has been provided. It takes a search query as input "
|
| 257 |
-
"and returns a single, relevant URL."
|
| 258 |
)
|
| 259 |
)
|
| 260 |
|
|
|
|
| 252 |
fn=search_and_extract_top_url,
|
| 253 |
name="extract_url_tool",
|
| 254 |
description=(
|
| 255 |
+
"Use this tool ONLY when you need to find a relevant URL to answer a question but no when a specific file or document has been provided. It takes a search query as input and returns a single, relevant URL."
|
|
|
|
|
|
|
| 256 |
)
|
| 257 |
)
|
| 258 |
|