Skip to content

Commit 369df8b

Browse files
committed
refactor: rename variable and improve manager agent initialization
1 parent 596e979 commit 369df8b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

examples/smolagents/multi_smolagents_system.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,8 @@ def visit_webpage(url: str) -> str:
9696
tools=[DuckDuckGoSearchTool(), visit_webpage],
9797
model=model,
9898
)
99-
abc = "Manager Agent"
99+
100100
manager_agent = CodeAgent(
101-
name=abc,
102-
description="This agent manages the web search agent and coordinates its tasks.",
103101
tools=[],
104102
model=model,
105103
managed_agents=[web_agent],

0 commit comments

Comments
 (0)