autogen
autogen.AfterWork
AfterWork
Handles the next step in the conversation when an agent doesn’t suggest a tool call or a handoff.
Name | Description |
---|---|
agent | Type: AfterWorkOption | ConversableAgent | str | Callable[…, Any] |
next_agent_selection_msg | Type: str | ContextStr | Callable[[ConversableAgent, list[dict[str, Any]]], str] | None Default: None |
Instance Attributes
agent