pub struct OrchestratorConfig {
pub max_depth: u8,
pub agents_per_level: usize,
pub enable_evolution: bool,
pub mutation_rate: f64,
pub executor_config: ExecutorConfig,
pub max_agent_age: Duration,
pub enable_self_correction: bool,
pub improvement_threshold: f64,
pub reflect_every_n_tasks: usize,
}Expand description
Configuration for the orchestrator
Fields§
§max_depth: u8Maximum depth of agent hierarchy
agents_per_level: usizeNumber of agents per level
enable_evolution: boolEnable evolutionary selection
mutation_rate: f64Mutation rate for evolution
executor_config: ExecutorConfigExecutor configuration
max_agent_age: DurationMaximum age for tracked agents before cleanup (prevents memory leaks)
enable_self_correction: boolEnable self-correcting genome evolution
improvement_threshold: f64Minimum fitness improvement to accept change
reflect_every_n_tasks: usizeNumber of tasks before reflection
Trait Implementations§
Source§impl Clone for OrchestratorConfig
impl Clone for OrchestratorConfig
Source§fn clone(&self) -> OrchestratorConfig
fn clone(&self) -> OrchestratorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrchestratorConfig
impl Debug for OrchestratorConfig
Auto Trait Implementations§
impl Freeze for OrchestratorConfig
impl RefUnwindSafe for OrchestratorConfig
impl Send for OrchestratorConfig
impl Sync for OrchestratorConfig
impl Unpin for OrchestratorConfig
impl UnwindSafe for OrchestratorConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more