Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .changeset/great-impalas-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---

Fixed no checkpoint being created before a file is edited
6 changes: 2 additions & 4 deletions src/core/assistant-message/presentAssistantMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1227,11 +1227,9 @@ async function checkpointSaveAndMark(task: Task) {
return
}
try {
// kilocode_change start: order changed to prevent second execution while still awaiting the save
// kilocode_change: order changed to prevent second execution while still awaiting the save
task.currentStreamingDidCheckpoint = true
// kilocode_change: don't force empty checkpoints - only create checkpoint if there are actual file changes
await task.checkpointSave(false)
// kilocode_change end
await task.checkpointSave(true)
} catch (error) {
console.error(`[Task#presentAssistantMessage] Error saving checkpoint: ${error.message}`, error)
}
Expand Down
Loading