pub enum ManagementStrategy {
EveryTick,
FixedInterval {
interval: u64,
},
CompletionBased {
max_wait_ticks: u64,
},
Hybrid {
preferred_interval: u64,
force_after_ticks: u64,
},
EscalationBased {
interval: u64,
immediate_on_escalation: bool,
},
}Expand description
ManagerAgent の起動タイミング戦略
Variants§
EveryTick
毎 Tick 起動(LLM 不要なフロー向け)
V2 ExplorationSpace など、LLM 呼び出しなしで Guidance を生成できる場合に使用。 Worker がアクションを完了したら即座に次のノードを割り当てられる。
FixedInterval
N Tick ごとに ManagerAgent を起動
CompletionBased
全 WorkerAgent の完了を待って起動
Hybrid
ハイブリッド: 完了待ちだが、最大N Tickで強制起動
EscalationBased
Escalation ベース: 定期 + Escalation 発生時に即時起動
Trait Implementations§
Source§impl Clone for ManagementStrategy
impl Clone for ManagementStrategy
Source§fn clone(&self) -> ManagementStrategy
fn clone(&self) -> ManagementStrategy
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 ManagementStrategy
impl Debug for ManagementStrategy
Auto Trait Implementations§
impl Freeze for ManagementStrategy
impl RefUnwindSafe for ManagementStrategy
impl Send for ManagementStrategy
impl Sync for ManagementStrategy
impl Unpin for ManagementStrategy
impl UnwindSafe for ManagementStrategy
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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