pub struct RetrievalWindowPolicy {
pub min_recent_user_turns: usize,
pub target_usage_percent: u8,
}Expand description
Internal policy used while retrieval-window remains an opt-in engine seam.
Public configuration is intentionally deferred until the runtime can apply a plan transactionally and guarantee current-session history retrieval.
Fields§
§min_recent_user_turns: usizeMinimum number of newest user-anchored logical turns to keep active.
target_usage_percent: u8Desired percentage of the provider context window after archiving.
Trait Implementations§
Source§impl Clone for RetrievalWindowPolicy
impl Clone for RetrievalWindowPolicy
impl Copy for RetrievalWindowPolicy
Source§impl Debug for RetrievalWindowPolicy
impl Debug for RetrievalWindowPolicy
impl Eq for RetrievalWindowPolicy
Source§impl PartialEq for RetrievalWindowPolicy
impl PartialEq for RetrievalWindowPolicy
impl StructuralPartialEq for RetrievalWindowPolicy
Auto Trait Implementations§
impl Freeze for RetrievalWindowPolicy
impl RefUnwindSafe for RetrievalWindowPolicy
impl Send for RetrievalWindowPolicy
impl Sync for RetrievalWindowPolicy
impl Unpin for RetrievalWindowPolicy
impl UnsafeUnpin for RetrievalWindowPolicy
impl UnwindSafe for RetrievalWindowPolicy
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.