-
Notifications
You must be signed in to change notification settings - Fork 377
Open
Description
In the Agents Recipes when i executed the code from "Have several agents collaborate in a multi-agent hierarchy" in colab notebook then in the 6th code cell i got this error:
ImportError: cannot import name 'ManagedAgent' from 'smolagents' (/usr/local/lib/python3.11/dist-packages/smolagents/init.py)
The code in the cell was:
from smolagents import (
CodeAgent,
ToolCallingAgent,
InferenceClientModel,
DuckDuckGoSearchTool
)
model = InferenceClientModel(model_id)
web_agent = ToolCallingAgent(
tools=[DuckDuckGoSearchTool(), visit_webpage],
model=model,
max_iterations=10,
)
Metadata
Metadata
Assignees
Labels
No labels