HandoffsValidationError
][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.
Parameters:
Name | Description |
---|---|
**data | Type: Any |
Name | Description |
---|---|
condition | The condition to add (OnContextCondition or OnCondition) Type: OnContextCondition | OnCondition |
Type | Description |
---|---|
Handoffs | Self for method chaining |
Name | Description |
---|---|
condition | The OnContextCondition to add Type: OnContextCondition |
Type | Description |
---|---|
Handoffs | Self for method chaining |
Name | Description |
---|---|
conditions | List of OnContextConditions to add Type: list[OnContextCondition] |
Type | Description |
---|---|
Handoffs | Self for method chaining |
Name | Description |
---|---|
condition | The OnCondition to add Type: OnCondition |
Type | Description |
---|---|
Handoffs | Self for method chaining |
Name | Description |
---|---|
conditions | List of OnConditions to add Type: list[OnCondition] |
Type | Description |
---|---|
Handoffs | Self for method chaining |
Name | Description |
---|---|
conditions | List of conditions to add Type: list[OnContextCondition | OnCondition] |
Type | Description |
---|---|
Handoffs | Self for method chaining |
Type | Description |
---|---|
Handoffs | Self for method chaining |
Name | Description |
---|---|
target_type | The type of condition to retrieve Type: type |
Type | Description |
---|---|
list[OnContextCondition] | List of conditions of the specified type, or None if none exist |
Type | Description |
---|---|
list[OnContextCondition] | List of context conditions that require wrapping |
Name | Description |
---|---|
target_type | The type of condition to retrieve Type: type |
Type | Description |
---|---|
list[OnCondition] | List of conditions of the specified type, or None if none exist |
Type | Description |
---|---|
list[OnCondition] | List of LLM conditions that require wrapping |
Name | Description |
---|---|
target | The after work TransitionTarget to set Type: TransitionTarget |
Type | Description |
---|---|
Handoffs | Self for method chaining |