chore: cleanup

This commit is contained in:
adamdottv
2025-05-13 06:51:28 -05:00
parent 0117c72a2c
commit 0c21ca5318
5 changed files with 79 additions and 27 deletions

View File

@@ -92,7 +92,7 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
// Run compaction in background
go func(sessionID string) {
err := p.app.PrimaryAgent.CompactSession(context.Background(), sessionID)
err := p.app.PrimaryAgent.CompactSession(context.Background(), sessionID, false)
if err != nil {
status.Error(fmt.Sprintf("Compaction failed: %v", err))
} else {