diff --git a/README.md b/README.md index 4d434d2..c738fef 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ pip install smolagents ``` Then define your agent, give it the tools it needs and run it! ```py -from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, +from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())