group_utils
autogen.agentchat.group.group_utils.prepare_group_agents
prepare_group_agents
Validates agents, create the tool executor, wrap necessary targets in agents.
Name | Description |
---|---|
agents | List of all agents in the conversation. Type: list[‘ConversableAgent’] |
context_variables | Context variables to assign to all agents. Type: ContextVariables |
exclude_transit_message | Whether to exclude transit messages from the agents. Type: bool Default: True |
Type | Description |
---|---|
tuple[GroupToolExecutor, list[‘ConversableAgent’]] | “ConversableAgent”: The tool executor agent. list[“ConversableAgent”]: List of wrapped agents. |