autogen
autogen.SwarmResult
SwarmResult
Encapsulates the possible return values for a swarm agent function.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError
][pydantic_core.ValidationError] if the input data cannot be
validated to form a valid model.self
is explicitly positional-only to allow self
as a field name.
Name | Description |
---|---|
**data | Type: Any |
Class Attributes
Config
agent
context_variables
model_config
values
Instance Methods
serialize_agent
Name | Description |
---|---|
agent | Type: ConversableAgent | str |