1 2 3 4 5 6 7 8 9 10 11 12
pub async fn try_session_memory_compaction<T>( _messages: &[T], _agent_id: Option<&str>, _threshold: usize, ) -> Option<CompactionResult> { None } #[derive(Debug, Clone)] pub struct CompactionResult { pub compacted: bool, }