Duplicated from agents-course/First_agent_template
d23baa8
1
2
3
4
5
6
from smolagents import DuckDuckGoSearchTool web_search = DuckDuckGoSearchTool() result = web_search(query="News Today") print(result)