Skip to content

Commit 14f60ef

Browse files
authored
Merge pull request #2116 from Kilo-Org/christiaan/checkpoints
Fix checkpoints not working when Morph fast apply is enabled
2 parents 2e94f9d + 61e18d6 commit 14f60ef

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/great-goats-try.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
Checkpoints now work when using Morph fast apply

src/core/assistant-message/presentAssistantMessage.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ export async function presentAssistantMessage(cline: Task, recursionDepth: numbe
482482
break
483483
// kilocode_change start: Morph fast apply
484484
case "edit_file":
485+
await checkpointSaveAndMark(cline)
485486
await editFileTool(cline, block, askApproval, handleError, pushToolResult, removeClosingTag)
486487
break
487488
// kilocode_change end

0 commit comments

Comments
 (0)