Skip to content

VisitWebpageTool requires installing smolagents in remote executors #1286

@albertvillanova

Description

@albertvillanova

VisitWebpageTool requires installing smolagents in remote executors just to use the truncate_content function.

The tool contains the code line:

from smolagents.utils import truncate_content

This forces remote executors to install the entire smolagents library.

Expected behavior:

  • the tool should work with minimal dependencies

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