MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / CompactionConfig

Class CompactionConfig

claw-code/rust/crates/runtime/src/compact.rs:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3#[derive(Debug, Clone, Copy, PartialEq, Eq)]
4pub struct CompactionConfig {
5 pub preserve_recent_messages: usize,
6 pub max_estimated_tokens: usize,
7}
8
9impl Default for CompactionConfig {
10 fn default() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected