swarm_agent
autogen.agentchat.contrib.swarm_agent.register_hand_off
register_hand_off
Register a function to hand off to another agent.
Parameters:Name | Description |
---|---|
agent | The agent to register the hand off with. Type: autogen.agentchat.conversable_agent.ConversableAgent |
hand_to | A list of OnCondition’s and an, optional, AfterWork condition Type: list[autogen.agentchat.contrib.swarm_agent.OnCondition | autogen.agentchat.contrib.swarm_agent.AfterWork] | autogen.agentchat.contrib.swarm_agent.OnCondition | autogen.agentchat.contrib.swarm_agent.AfterWork |