pub struct AutoContext {
pub timeline_entries: Vec<TimelineEntry>,
pub open_loops: Vec<OpenLoopEntry>,
pub block_count: usize,
pub depth_breakdown: Vec<(u8, usize)>,
pub append_log_size: usize,
pub last_session_anchor_ms: Option<u64>,
pub core_memories: Vec<CoreMemory>,
}Expand description
Assembled auto-context, ready to format for an LLM prompt.
Fields§
§timeline_entries: Vec<TimelineEntry>§open_loops: Vec<OpenLoopEntry>§block_count: usize§depth_breakdown: Vec<(u8, usize)>§append_log_size: usize§last_session_anchor_ms: Option<u64>§core_memories: Vec<CoreMemory>Full-text top memories for direct LLM consumption.
Trait Implementations§
Source§impl Clone for AutoContext
impl Clone for AutoContext
Source§impl Debug for AutoContext
impl Debug for AutoContext
Auto Trait Implementations§
impl Freeze for AutoContext
impl RefUnwindSafe for AutoContext
impl Send for AutoContext
impl Sync for AutoContext
impl Unpin for AutoContext
impl UnsafeUnpin for AutoContext
impl UnwindSafe for AutoContext
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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