Teams of teams output

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!

Hey @Nespresso2000, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!

Hey @Nespresso2000,

Have you tried setting the following? I think this may fix your use case

  main_team = Team(
      members=[...],
      respond_directly=True,  # Return member responses directly without processing
      determine_input_for_members=False,  # Send input directly to members
  )

Hey @SamJupe thank you for your response! I tried it but unfortunately this didn’t work. Any other ideas?