We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 687b379 commit 1954d45Copy full SHA for 1954d45
src/core/task/Task.ts
@@ -890,6 +890,12 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
890
this.askResponseText = text
891
this.askResponseImages = images
892
893
+ // Create a checkpoint whenever the user sends a message.
894
+ // Use allowEmpty=true to ensure a checkpoint is recorded even if there are no file changes.
895
+ if (askResponse === "messageResponse") {
896
+ void this.checkpointSave(true)
897
+ }
898
+
899
// Mark the last follow-up question as answered
900
if (askResponse === "messageResponse" || askResponse === "yesButtonClicked") {
901
// Find the last unanswered follow-up message using findLastIndex
0 commit comments