Hi im using Team I want to prevent the Team leader from being able to respond, so always delegate to a sub agent.
Is this currently possible in v2?
with respond_directly = True the teamleader is still able to answer
We run into the problem that for longer conversations the team leader often times decides he can respond, and thereby not following instruction that are present at the sub agents. We want to prevent this at code level rather than including instruction that it must always delegate since our context window is already quite packed.
Hi @thomas, thank you for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all queries one by one and will get back to you soon. If it’s urgent, please let us know. We appreciate your patience!
hey @thomas you can pass tool_choice={"type": "function", "function": {"name": "delegate_task_to_member"}}, alongside with respond_directly=true which will force delegation to member . ( this may vary between different models since it is making forced tool calls) .
let us know , if you still have any doubts .
thanks!