pub struct ParallelOrchestrator { /* private fields */ }Expand description
Parallel orchestrator that executes agents concurrently
Implementations§
Source§impl ParallelOrchestrator
impl ParallelOrchestrator
Sourcepub fn with_max_retries(self, max_retries: usize) -> Self
pub fn with_max_retries(self, max_retries: usize) -> Self
Set max retries per agent
Sourcepub fn with_parallel_limit(self, limit: usize) -> Self
pub fn with_parallel_limit(self, limit: usize) -> Self
Set parallel execution limit
Trait Implementations§
Source§impl Default for ParallelOrchestrator
impl Default for ParallelOrchestrator
Source§impl Orchestrator for ParallelOrchestrator
impl Orchestrator for ParallelOrchestrator
Source§fn description(&self) -> &str
fn description(&self) -> &str
Orchestrator description (what pattern it uses)
Source§fn orchestrate<'life0, 'async_trait>(
&'life0 self,
agents: Vec<Box<dyn Agent>>,
input: OrchestratorInput,
) -> Pin<Box<dyn Future<Output = Result<OrchestratorOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn orchestrate<'life0, 'async_trait>(
&'life0 self,
agents: Vec<Box<dyn Agent>>,
input: OrchestratorInput,
) -> Pin<Box<dyn Future<Output = Result<OrchestratorOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute orchestration with the provided agents and input
Auto Trait Implementations§
impl Freeze for ParallelOrchestrator
impl RefUnwindSafe for ParallelOrchestrator
impl Send for ParallelOrchestrator
impl Sync for ParallelOrchestrator
impl Unpin for ParallelOrchestrator
impl UnwindSafe for ParallelOrchestrator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more