register_hand_off

register_hand_off(agent: ConversableAgent, hand_to: list[OnCondition | AfterWork] | OnCondition | AfterWork) -> 

Register a function to hand off to another agent.

Parameters:
NameDescription
agentThe agent to register the hand off with.

Type: ConversableAgent
hand_toA list of OnCondition’s and an, optional, AfterWork condition

Type: list[OnCondition | AfterWork] | OnCondition | AfterWork