huggingface / huggingface/agents-course

Issue in the code provided in unit1 tutorial

Open
#579 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
32.6k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

The code given in the [agents-course](https://github.com/huggingface/agents-course/tree/main)/[units](https://github.com/huggingface/agents-course/tree/main/units)/[en](https://github.com/huggingface/agents-course/tree/main/units/en)/[unit1](https://github.com/huggingface/agents-course/tree/main/units/en/unit1)
/tutorial.mdx is different from the one given in the [repository](https://huggingface.co/spaces/agents-course/First_agent_template/tree/main).

- The code in the tutorial is importing the tools from smolagents library.
``` python
from smolagents import CodeAgent, DuckDuckGoSearchTool, FinalAnswerTool, InferenceClientModel, load_tool, tool
import datetime
import requests
import pytz
import yaml
```

- The code in the [repository](https://huggingface.co/spaces/agents-course/First_agent_template/tree/main) maintains the tools in a directory and are imported from there.
Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.