PlanStep
Defined in the planning module.Rust AI Agent SDK A single step in a plan.
Fields
| Name | Type | Description |
|---|---|---|
id | String | Step ID |
description | String | Step description |
status | StepStatus | Step status |
dependencies | Vec<String> | Dependencies (step IDs) |
output | Option<String> | Output from this step |
error | Option<String> | Error message if failed |
estimated_duration | Option<u64> | Estimated duration in seconds |
actual_duration | Option<u64> | Actual duration in seconds |
Methods
new
| Name | Type |
|---|---|
description | impl Into<String> |
depends_on
| Name | Type |
|---|---|
step_id | impl Into<String> |
estimated
| Name | Type |
|---|---|
seconds | u64 |
start
complete
| Name | Type |
|---|---|
output | Option<String> |
fail
| Name | Type |
|---|---|
error | impl Into<String> |
skip
is_ready
| Name | Type |
|---|---|
completed_steps | &[String] |
Source
View on GitHub
praisonai/src/planning/mod.rs at line 46
