First_agent_template / test_tools.py
nthumphrey's picture
Fix agent tools
d23baa8
Raw History Blame Contribute Delete
135 Bytes
from smolagents import DuckDuckGoSearchTool
web_search = DuckDuckGoSearchTool()
result = web_search(query="News Today")
print(result)