cascade-agent 0.1.0

Async LLM agentic engine with tool execution, memory management, and dynamic skills
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Serialize;

/// Report from a context compaction operation.
#[derive(Debug, Clone, Serialize)]
pub struct CompactionReport {
    /// Number of messages before compaction.
    pub messages_before: usize,
    /// Number of messages after compaction.
    pub messages_after: usize,
    /// Total tokens before compaction.
    pub tokens_before: usize,
    /// Total tokens after compaction.
    pub tokens_after: usize,
}