Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion units/en/unit1/tutorial.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ Let's break down the code together:
- The file begins with some simple but necessary library imports

```python
from smolagents import CodeAgent, DuckDuckGoSearchTool, FinalAnswerTool, InferenceClientModel, load_tool, tool
from smolagents import CodeAgent, DuckDuckGoSearchTool, InferenceClientModel, load_tool, tool
import datetime
import requests
import pytz
import yaml
from tools.final_answer import FinalAnswerTool
```

As outlined earlier, we will directly use the **CodeAgent** class from **smolagents**.
Expand Down