PlanStorage
Defined in the planning module.Rust AI Agent SDK Storage for plans.
Fields
| Name | Type | Description |
|---|---|---|
plans | HashMap<String | Plans by ID |
path | Option<PathBuf> | Storage path |
Methods
new
with_path
| Name | Type |
|---|---|
path | impl Into<PathBuf> |
save
| Name | Type |
|---|---|
plan | Plan |
load
| Name | Type |
|---|---|
id | &str |
load_mut
| Name | Type |
|---|---|
id | &str |
delete
| Name | Type |
|---|---|
id | &str |
list
count
persist
restore
Source
View on GitHub
praisonai/src/planning/mod.rs at line 402
