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

parameter error

Browse files
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -58,7 +58,7 @@ media_agent = FunctionAgent(
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,7 +118,7 @@ Response Guidelines:
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.")
 
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.")