beitemian commited on
Commit
476c0c0
·
1 Parent(s): 1b66ea9

parameter error

Browse files
Files changed (1) hide show
  1. agent.py +2 -1
agent.py CHANGED
@@ -58,6 +58,7 @@ media_agent = FunctionAgent(
58
  PLAN:
59
  OUTPUT FORMATTING: """,
60
  tools = [file_management_tools.read_youtube_video],
 
61
  allow_parallel_tool_calls=True
62
  )
63
 
@@ -117,7 +118,7 @@ Response Guidelines:
117
  math_tools.modulus
118
  ],
119
  allow_parallel_tool_calls=True,
120
- can_handoff_to=media_agent
121
  )
122
 
123
  workflow_agent = AgentWorkflow(agents = [researcher_agent, media_agent], root_agent=researcher_agent.name, verbose=True, handoff_prompt="Please handoff to the media agent to analyze videos, audio, images.")
 
58
  PLAN:
59
  OUTPUT FORMATTING: """,
60
  tools = [file_management_tools.read_youtube_video],
61
+ can_handoff_to="Viktor",
62
  allow_parallel_tool_calls=True
63
  )
64
 
 
118
  math_tools.modulus
119
  ],
120
  allow_parallel_tool_calls=True,
121
+ can_handoff_to="Luna"
122
  )
123
 
124
  workflow_agent = AgentWorkflow(agents = [researcher_agent, media_agent], root_agent=researcher_agent.name, verbose=True, handoff_prompt="Please handoff to the media agent to analyze videos, audio, images.")