GroupChatTarget
autogen.agentchat.group.GroupChatTarget #
Bases: TransitionTarget
Target that represents a group chat.
activate_target #
Activate the target in the groupchat, setting the next target for GroupToolExecutor.
The Tool Executor's next target attribute will be picked up on the next iteration when _determine_next_agent is called
Source code in autogen/agentchat/group/targets/transition_target.py
can_resolve_for_speaker_selection #
Check if the target can resolve for speaker selection. For GroupChatTarget the chat must be encapsulated into an agent.
resolve #
Resolve to the nested chat configuration.
Source code in autogen/agentchat/group/targets/group_chat_target.py
display_name #
normalized_name #
Get a normalized name for the target that has no spaces, used for function calling.
needs_agent_wrapper #
Check if the target needs to be wrapped in an agent. GroupChatTarget must be wrapped in an agent.
create_wrapper_agent #
Create a wrapper agent for the group chat.