From bc82d1cb76d7ce0594a81da51302711484ca51c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=B3=E7=81=BF=E5=A5=87?= Date: Thu, 23 Jan 2025 17:19:50 +0800 Subject: [PATCH] Update README.md fix quick demo code import bug (#327) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())