pub fn should_compact(&self, context: &Context, token_count: u64) -> bool {
        // Return false if compaction is not configured
        if let Some(compact) = &self.compact {
            compact.should_compact(context, token_count)
        } else {
            false
        }
    }
Checks if compaction should be applied
crates/forge_domain/src/agent.rs