mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
f5c1a16f8a
Change compaction behavior so the compaction entry has no parent (empty ParentID), creating a new root for post-compaction history. This ensures old compacted messages are not traversed when building LLM context. - Modify AppendCompaction to create entries with empty ParentID - Update BuildContext to collect kept messages via FirstKeptEntryID - Update GetContextEntryIDs with same logic - Add comprehensive tests for compaction behavior - Add web viewer support for displaying compaction entries