Skip to content

[HANDS-ON BUG] DuckDuckGoSearchTool use in smolagents notebook fails #539

@timadair

Description

@timadair

Describe the bug
When running the code in Building Agents That Use Code, the DuckDuckGo search tool is no longer included in the default smolagents package.

To Reproduce
Run the code in the notebook. The failure happens in the third code block.

Additional context
It appears that the DuckDuckGoSearchTool was removed as a required dependency in smolagents v1.15.0, and was replaced in the documentation with WebSearchTool.
Remember to update the course pages and not just the notebook.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions