Skip to content

Commit 26b2705

Browse files
committed
Update checkpoint titles to consistently use 'Before response accepted' when changes are applied
1 parent 5322d54 commit 26b2705

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/vscode/src/commands/apply-chat-response-command/apply-chat-response-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export const apply_chat_response_command = (
246246
(c) => c.timestamp == before_checkpoint!.timestamp
247247
)
248248
if (checkpoint_to_update) {
249-
checkpoint_to_update.title = 'Accepted response preview'
249+
checkpoint_to_update.title = 'Before response accepted'
250250
checkpoint_to_update.response_history = history_for_checkpoint
251251
checkpoint_to_update.response_preview_item_created_at =
252252
created_at_for_preview

‎packages/vscode/src/commands/checkpoints-command/actions/restore-checkpoint.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ export const restore_checkpoint = async (params: {
354354
}
355355

356356
if (
357-
params.checkpoint.title == 'Accepted response preview' &&
357+
params.checkpoint.title == 'Before response accepted' &&
358358
params.checkpoint.response_preview_item_created_at &&
359359
params.checkpoint.response_history
360360
) {

0 commit comments

Comments
 (0)