mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: save checkpoint immediately after file read operations
- Add checkpoint save after read_file tool execution - Ensures context is preserved when files are read for the first time - Fixes issue where checkpoints were only saved after command execution Fixes #9679
This commit is contained in:
parent
127ecf6ddd
commit
234199b695
1 changed files with 2 additions and 0 deletions
|
|
@ -852,6 +852,8 @@ export async function presentAssistantMessage(cline: Task) {
|
|||
toolProtocol,
|
||||
})
|
||||
}
|
||||
// Save checkpoint after reading files to preserve context
|
||||
await checkpointSaveAndMark(cline)
|
||||
break
|
||||
case "fetch_instructions":
|
||||
await fetchInstructionsTool.handle(cline, block as ToolUse<"fetch_instructions">, {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue