Skip to content

AFTER_WORK

autogen.agentchat.contrib.swarm_agent.AFTER_WORK #

AFTER_WORK(*args, **kwargs)

Bases: AfterWork

Deprecated: Use AfterWork instead. This class will be removed in a future version (TBD).

Source code in autogen/agentchat/contrib/swarm_agent.py
def __init__(self, *args: Any, **kwargs: Any) -> None:
    warnings.warn(
        "AFTER_WORK is deprecated and will be removed in a future version (TBD). Use AfterWork instead.",
        DeprecationWarning,
        stacklevel=2,
    )
    super().__init__(*args, **kwargs)

agent instance-attribute #

agent

next_agent_selection_msg class-attribute instance-attribute #

next_agent_selection_msg = None