Skip to content

Commit e642f9b

Browse files
committed
fix: restore checkpoint visibility in UI
- Changed suppressMessage flag from true to false when creating checkpoints for user messages - This ensures checkpoints are visible in the UI so users can restore their code when needed - Fixes issue where checkpoint list was not appearing below API requests Fixes #7786
1 parent 0ce4e89 commit e642f9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/task/Task.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -892,9 +892,9 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
892892

893893
// Create a checkpoint whenever the user sends a message.
894894
// Use allowEmpty=true to ensure a checkpoint is recorded even if there are no file changes.
895-
// Suppress the checkpoint_saved chat row for this particular checkpoint to keep the timeline clean.
895+
// Do not suppress the checkpoint_saved chat row so users can see and restore checkpoints.
896896
if (askResponse === "messageResponse") {
897-
void this.checkpointSave(false, true)
897+
void this.checkpointSave(false, false)
898898
}
899899

900900
// Mark the last follow-up question as answered

0 commit comments

Comments
 (0)