WorkflowContext
Defined in the Workflows module.Rust AI Agent SDK Workflow context passed between agents
Fields
| Name | Type | Description |
|---|---|---|
variables | std::collections::HashMap<String | Variables available to all agents |
results | Vec<StepResult> | Results from previous steps |
Methods
new
set
| Name | Type |
|---|---|
key | impl Into<String> |
value | impl Into<String> |
get
| Name | Type |
|---|---|
key | &str |
add_result
| Name | Type |
|---|---|
result | StepResult |

