pub struct EvolutionThresholds {
pub cooldown_hours: f64,
pub recent_days: i64,
pub recent_limit: i64,
pub meaningful_min_tools: i64,
pub meaningful_threshold_skills: i64,
pub meaningful_threshold_memory: i64,
pub meaningful_threshold_prompts: i64,
pub failures_min_prompts: i64,
pub replans_min_prompts: i64,
pub repeated_pattern_min_count: i64,
pub repeated_pattern_min_success_rate: f64,
}Expand description
进化触发阈值,均由环境变量配置,未设置时使用下列默认值。
Fields§
§cooldown_hours: f64§recent_days: i64§recent_limit: i64§meaningful_min_tools: i64§meaningful_threshold_skills: i64§meaningful_threshold_memory: i64§meaningful_threshold_prompts: i64§failures_min_prompts: i64§replans_min_prompts: i64§repeated_pattern_min_count: i64§repeated_pattern_min_success_rate: f64Implementations§
Trait Implementations§
Source§impl Clone for EvolutionThresholds
impl Clone for EvolutionThresholds
Source§fn clone(&self) -> EvolutionThresholds
fn clone(&self) -> EvolutionThresholds
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 EvolutionThresholds
impl Debug for EvolutionThresholds
Auto Trait Implementations§
impl Freeze for EvolutionThresholds
impl RefUnwindSafe for EvolutionThresholds
impl Send for EvolutionThresholds
impl Sync for EvolutionThresholds
impl Unpin for EvolutionThresholds
impl UnsafeUnpin for EvolutionThresholds
impl UnwindSafe for EvolutionThresholds
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