Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,10 @@ from smolagents import DuckDuckGoSearchTool
|
|
27 |
from smolagents.models import InferenceClientModel
|
28 |
from smolagents import CodeAgent
|
29 |
|
|
|
|
|
|
|
|
|
30 |
class WebSearchTool(Tool):
|
31 |
name = "web_search"
|
32 |
description = "Searches the web using DuckDuckGo and retrieves relevant answers."
|
|
|
27 |
from smolagents.models import InferenceClientModel
|
28 |
from smolagents import CodeAgent
|
29 |
|
30 |
+
class CustomDuckDuckGoTool(DuckDuckGoSearchTool):
|
31 |
+
name = "duckduckgo_search"
|
32 |
+
description = "Searches the web using DuckDuckGo.
|
33 |
+
|
34 |
class WebSearchTool(Tool):
|
35 |
name = "web_search"
|
36 |
description = "Searches the web using DuckDuckGo and retrieves relevant answers."
|