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.
HandoffFilters
Defined in the Workflow Aliases module.
Rust AI Agent SDK
Handoff filter configuration
Fields
| Name | Type | Description |
|---|
filter_type | Option<HandoffFilter> | Filter type |
agents | Vec<String> | List of agent names for allow/deny lists |
Methods
new
Create a new handoff filter
allow_all
Allow all handoffs
deny_all
Deny all handoffs
allow_only
fn allow_only(agents: Vec<String>) -> Self
Allow only specific agents
Parameters:
| Name | Type |
|---|
agents | Vec<String> |
deny
fn deny(agents: Vec<String>) -> Self
Deny specific agents
Parameters:
| Name | Type |
|---|
agents | Vec<String> |
is_allowed
fn is_allowed(&self, target: &str) -> bool
Check if handoff to target is allowed
Parameters:
Source
View on GitHub
praisonai/src/parity/workflow_aliases.rs at line 216