PlanningAgent
Defined in the specialized module.Rust AI Agent SDK Planning agent for multi-step task planning
Fields
| Name | Type | Description |
|---|---|---|
config | PlanningAgentConfig | Configuration |
plan | Vec<PlanningStep> | Current plan |
current_step | usize | Current step index |
Methods
new
| Name | Type |
|---|---|
config | PlanningAgentConfig |
create_plan
| Name | Type |
|---|---|
task | &str |
add_step
| Name | Type |
|---|---|
description | impl Into<String> |
current
complete_step
| Name | Type |
|---|---|
result | Option<String> |
fail_step
| Name | Type |
|---|---|
error | impl Into<String> |
steps
is_complete
progress
Source
View on GitHub
praisonai/src/parity/specialized.rs at line 178
