Fixed demo typo in README.md (#481)

This commit is contained in:
hante 2025-02-03 17:16:56 +01:00 committed by GitHub
parent 6d72ea7283
commit dd84e7333d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ Then define your agent, give it the tools it needs and run it!
```py ```py
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
mdoel = HfApiModel() model = HfApiModel()
agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model) agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model)
agent.run("How many seconds would it take for a leopard at full speed to run through Pont des Arts?") agent.run("How many seconds would it take for a leopard at full speed to run through Pont des Arts?")