I have a set up which includes a team of teams (in route mode) and those teams in turn have multiple agents within them (in coordinate mode).
One thing I noticed on the playground is that, the main team that is in route mode calls on most agents twice, this is once with the “forward_task_to_member” function and immediately after with “transfer_task_to_member”. In the first call, I see in the tool description that there is no task_description field (only member_id and expected_output) while in the latter all three are present.
I have tried:
→ instructing the main team to only call its members once
→ explicitly telling it to use only one of the above two functions
→ defining expected_output for each of the agents
→ using response_model
→ setting the mode to ‘coordinate’ for the main team (though this does not suit my needs logically)
However, I still see the output being repeated multiple times. The main config for my main team and its teams members (which are also teams) has the following parameters set to true -
enable_agentic_memory=True,
add_member_tools_to_system_message=True,
enable_agentic_context=True,
add_history_to_messages=True,
read_team_history=True,
add_state_in_messages=True,
share_member_interactions=True,
and the agents within the teams have the below configuration
add_state_in_messages=True,
show_tool_calls=True,
enable_agentic_memory=True,
Request please help me figure out how to stop the output from repeating, thanks you!