Skip to main content

ai_agent/services/compact/
session_memory_compact.rs

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