Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
HandoffConfig
Defined in the Workflow Aliases module.
Rust AI Agent SDK
Handoff configuration for agent-to-agent transfers
Fields
| Name | Type | Description |
|---|
target | String | Target agent name |
message | Option<String> | Handoff message/context |
include_history | bool | Whether to include conversation history |
metadata | std::collections::HashMap<String | Custom metadata |
serde_json | :Value> | Custom metadata |
Methods
new
fn new(target: impl Into<String>) -> Self
Create a new handoff configuration
Parameters:
| Name | Type |
|---|
target | impl Into<String> |
message
fn message(mut self, message: impl Into<String>) -> Self
Set handoff message
Parameters:
| Name | Type |
|---|
message | impl Into<String> |
include_history
fn include_history(mut self, include: bool) -> Self
Set whether to include history
Parameters:
fn metadata(mut self, key: impl Into<String>, value: serde_json::Value) -> Self
Add metadata
Parameters:
| Name | Type |
|---|
key | impl Into<String> |
value | serde_json::Value |
Source
View on GitHub
praisonai/src/parity/workflow_aliases.rs at line 140