repeat • Rust AI Agent SDK
repeat: Create a repeat workflow step Executes the agent a fixed number of times. # Arguments * `agent` – The agent to execute * `times` – Number of times to…
repeat
Function
</div>
This function is defined in the workflow_aliases module.
Create a repeat workflow step Executes the agent a fixed number of times. # Arguments agent – The agent to execute times – Number of times to repeat
Signature
def repeat(agent: Arc<crate::agent::Agent>, times: usize) -> crate::workflows::FlowStepParameters
ParamField
Arc<crate::agent::Agent>No description available.
ParamField
usizeNo description available.
Returns
ResponseField
crate::workflows::FlowStepThe result of the operation.
Source
View on GitHubpraisonai/src/parity/workflow_aliases.rs at line 82