Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt

Use this file to discover all available pages before exploring further.

wrap_agent_handoff_targets

wrap_agent_handoff_targets(agent: ConversableAgent, wrapped_agent_list: list['ConversableAgent']) -> 
Wrap handoff targets in agents that need to be wrapped to be part of the group chat.
Example is NestedChatTarget.
Parameters:
NameDescription
agentThe agent to wrap the handoff targets for.

Type: ConversableAgent
wrapped_agent_listList of wrapped chat agents that will be appended to.

Type: list[‘ConversableAgent’]