pub struct SequentialOrchestrator { /* private fields */ }Expand description
Sequential orchestrator that executes agents one after another
Implementations§
Source§impl SequentialOrchestrator
impl SequentialOrchestrator
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
Trait Implementations§
Source§impl Default for SequentialOrchestrator
impl Default for SequentialOrchestrator
Source§impl Orchestrator for SequentialOrchestrator
impl Orchestrator for SequentialOrchestrator
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 SequentialOrchestrator
impl RefUnwindSafe for SequentialOrchestrator
impl Send for SequentialOrchestrator
impl Sync for SequentialOrchestrator
impl Unpin for SequentialOrchestrator
impl UnwindSafe for SequentialOrchestrator
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