Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Not suitable for:

## Compaction Strategy

The SimpleContextManager uses **ephemeral compaction** - `get_messages_for_request()` returns a compacted VIEW without modifying the internal message history. The full history is always preserved in memory.
The SimpleContextManager uses **ephemeral request-time compaction**: `get_messages_for_request()` returns a compacted view without modifying the internal message history. Call `compact()` explicitly to persistently replace the stored history with a compacted version; subsequent transcripts then reflect that reduced history.

Compaction triggers when token usage reaches the configured threshold (default: 92% of max_tokens):

Expand Down
Loading