pub struct MicroCompactor;Expand description
rho > micro_threshold: replace tool results with a compact excerpt. Selection via
[excerptable_tool_result_indices]; this executor only applies the excerpt.
Trait Implementations§
Source§impl Compressor for MicroCompactor
impl Compressor for MicroCompactor
fn compress( &self, partitions: &mut ContextPartitions, _target_tokens: u32, _max_tokens: u32, preserve_k: usize, _summarizer: &dyn Summarizer, engine: &ContextTokenEngine, ) -> CompressResult
Auto Trait Implementations§
impl Freeze for MicroCompactor
impl RefUnwindSafe for MicroCompactor
impl Send for MicroCompactor
impl Sync for MicroCompactor
impl Unpin for MicroCompactor
impl UnsafeUnpin for MicroCompactor
impl UnwindSafe for MicroCompactor
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