prepare_group_agents
Parameters:
| 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. |