group_utils
autogen.agentchat.group.group_utils.setup_context_variables
setup_context_variables
Assign a common context_variables reference to all agents in the group, including the tool executor and group chat manager.
Name | Description |
---|---|
tool_execution | The tool execution agent. Type: ConversableAgent |
agents | List of all agents in the conversation. Type: list[‘ConversableAgent’] |
manager | GroupChatManager instance. Type: GroupChatManager |
context_variables | Context variables to assign to all agents. Type: ContextVariables |