StepResult
Defined in the workflows module.Rust AI Agent SDK Step result from workflow execution
Fields
| Name | Type | Description |
|---|---|---|
agent | String | Agent name that produced this result |
output | String | The output content |
success | bool | Whether the step succeeded |
error | Option<String> | Error message if failed |
Methods
success
| Name | Type |
|---|---|
agent | impl Into<String> |
output | impl Into<String> |
failure
| Name | Type |
|---|---|
agent | impl Into<String> |
error | impl Into<String> |
Source
View on GitHub
praisonai/src/workflows/mod.rs at line 29
