Spaces:
Sleeping
Sleeping
parameter error
Browse files
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.")
|