Skip to content

FunctionTargetResult

autogen.agentchat.group.targets.function_target.FunctionTargetResult #

Bases: BaseModel

Result of a function handoff that is used to provide the return message and the target to transition to.

ATTRIBUTE DESCRIPTION
messages

Optional list of messages to be broadcast to specific agents, or a single string message.

TYPE: list[FunctionTargetMessage] | str | None

context_variables

Optional updated context variables that will be applied to the group chat context variables.

TYPE: ContextVariables | None

target

The next target to transition to.

TYPE: TransitionTarget

messages class-attribute instance-attribute #

messages = None

context_variables class-attribute instance-attribute #

context_variables = None

target instance-attribute #

target