HandoffInputData
Defined in the handoff module.Rust AI Agent SDK Data passed to a handoff target agent.
Fields
| Name | Type | Description |
|---|---|---|
messages | Vec<serde_json::Value> | Messages to pass to target agent |
context | HashMap<String | Additional context data |
serde_json | :Value> | Additional context data |
source_agent | Option<String> | Name of the source agent |
handoff_depth | usize | Current handoff depth |
handoff_chain | Vec<String> | Chain of agents in the handoff |
Methods
new
messages
| Name | Type |
|---|---|
messages | Vec<serde_json::Value> |
context
| Name | Type |
|---|---|
key | impl Into<String> |
value | serde_json::Value |
source_agent
| Name | Type |
|---|---|
agent | impl Into<String> |
Source
View on GitHub
praisonai/src/handoff/mod.rs at line 248
