route
Function
This function is defined in the workflow_aliases module.Create a route workflow step Conditionally routes to different agents based on a condition. # Arguments *
condition - Function that returns true/false to determine routing * if_true - Agent to execute if condition is true * if_false - Optional agent to execute if condition is false
Signature
Parameters
No description available.
No description available.
No description available.
Returns
The result of the operation.
Source
View on GitHub
praisonai/src/parity/workflow_aliases.rs at line 105
