pub struct HebbianConsolidationConfig {
pub consolidation_interval_secs: u64,
pub consolidation_threshold: f64,
pub max_candidates_per_sweep: usize,
pub consolidation_cooldown_secs: u64,
pub consolidation_prompt_timeout_secs: u64,
pub consolidation_max_neighbors: usize,
}Expand description
Runtime config for Hebbian background consolidation (HL-F3/F4, #3345).
Passed to spawn_consolidation_loop after being constructed from HebbianConfig in the
top-level runner.
Fields§
§consolidation_interval_secs: u64How often the consolidation sweep runs, in seconds. 0 disables the loop.
consolidation_threshold: f64Minimum degree × avg_weight score for a candidate to qualify.
max_candidates_per_sweep: usizeMaximum candidates processed per sweep.
consolidation_cooldown_secs: u64Re-consolidation cooldown per entity, in seconds.
consolidation_prompt_timeout_secs: u64LLM prompt timeout per distillation call, in seconds.
consolidation_max_neighbors: usizeMaximum neighbour summaries passed to the LLM per candidate.
Trait Implementations§
Source§impl Clone for HebbianConsolidationConfig
impl Clone for HebbianConsolidationConfig
Source§fn clone(&self) -> HebbianConsolidationConfig
fn clone(&self) -> HebbianConsolidationConfig
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 HebbianConsolidationConfig
impl Debug for HebbianConsolidationConfig
Source§impl Default for HebbianConsolidationConfig
impl Default for HebbianConsolidationConfig
Source§fn default() -> HebbianConsolidationConfig
fn default() -> HebbianConsolidationConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HebbianConsolidationConfig
impl RefUnwindSafe for HebbianConsolidationConfig
impl Send for HebbianConsolidationConfig
impl Sync for HebbianConsolidationConfig
impl Unpin for HebbianConsolidationConfig
impl UnsafeUnpin for HebbianConsolidationConfig
impl UnwindSafe for HebbianConsolidationConfig
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request