pub struct SidequestConfig {
pub enabled: bool,
pub interval_turns: u32,
pub max_eviction_ratio: f32,
pub max_cursors: usize,
pub min_cursor_tokens: usize,
}Expand description
Configuration for LLM-driven side-thread tool output eviction (#1885).
Fields§
§enabled: boolEnable SideQuest eviction. Default: false.
interval_turns: u32Run eviction every N user turns. Default: 4.
max_eviction_ratio: f32Maximum fraction of tool outputs to evict per pass. Default: 0.5.
max_cursors: usizeMaximum cursor entries in eviction prompt (largest outputs first). Default: 30.
min_cursor_tokens: usizeExclude tool outputs smaller than this token count from eviction candidates.
Default: 100.
Trait Implementations§
Source§impl Clone for SidequestConfig
impl Clone for SidequestConfig
Source§fn clone(&self) -> SidequestConfig
fn clone(&self) -> SidequestConfig
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 SidequestConfig
impl Debug for SidequestConfig
Source§impl Default for SidequestConfig
impl Default for SidequestConfig
Source§impl<'de> Deserialize<'de> for SidequestConfigwhere
SidequestConfig: Default,
impl<'de> Deserialize<'de> for SidequestConfigwhere
SidequestConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SidequestConfig
impl RefUnwindSafe for SidequestConfig
impl Send for SidequestConfig
impl Sync for SidequestConfig
impl Unpin for SidequestConfig
impl UnsafeUnpin for SidequestConfig
impl UnwindSafe for SidequestConfig
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