fix: allow compact retry after failed session compaction (#53875)

This commit is contained in:
scoootscooob
2026-03-24 11:23:42 -07:00
committed by GitHub
parent 6bef8deda9
commit 3a4cc89c53
2 changed files with 51 additions and 1 deletions

View File

@@ -646,7 +646,6 @@ public final class OpenClawChatViewModel {
}
self.isCompacting = true
self.lastCompactAt = Date()
self.isLoading = true
self.errorText = nil
defer {
@@ -665,6 +664,7 @@ public final class OpenClawChatViewModel {
return
}
self.lastCompactAt = Date()
await self.bootstrap()
}