Spaces:
Sleeping
Sleeping
Download test_tools.py from nthumphrey/First_agent_template: direct link, hf CLI and curl.
- Browser
- Download file 135 Bytes
-
https://huggingface.co/spaces/nthumphrey/First_agent_template/resolve/main/test_tools.py
- Command line
-
hf download hf://spaces/nthumphrey/First_agent_template/test_tools.py
-
curl -L -o test_tools.py https://huggingface.co/spaces/nthumphrey/First_agent_template/resolve/main/test_tools.py
135 Bytes
| from smolagents import DuckDuckGoSearchTool | |
| web_search = DuckDuckGoSearchTool() | |
| result = web_search(query="News Today") | |
| print(result) |