Skip to content

Issue in the code provided in unit1 tutorial #579

@human-coder-mj

Description

@human-coder-mj

The code given in the agents-course/units/en/unit1
/tutorial.mdx is different from the one given in the repository.

  • The code in the tutorial is importing the tools from smolagents library.
from smolagents import CodeAgent, DuckDuckGoSearchTool, FinalAnswerTool, InferenceClientModel, load_tool, tool
import datetime
import requests
import pytz
import yaml
  • The code in the repository maintains the tools in a directory and are imported from there.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions