Update README.md fix quick demo code import bug (#327)
This commit is contained in:
parent
b351a8c9ce
commit
bc82d1cb76
|
@ -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())
|
||||
|
||||
|
|
Loading…
Reference in New Issue