From 6d2c39c2655a5a747d2bb9bc816752346ee43b13 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Tue, 6 May 2025 11:59:06 -0400 Subject: [PATCH] Fix checkpoints not being rendered (#30019) Closes #ISSUE Release Notes: - Agent Beta: Fixed a bug causing "Restore Checkpoint" buttons in the agent panel not to be rendered. Co-authored-by: Antonio Scandurra --- crates/agent/src/active_thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/agent/src/active_thread.rs b/crates/agent/src/active_thread.rs index 01195552a69b05a86145b1b880a893bf9b026401..140294cbbc6aa7e9bd43223e65854fcc8fe6062f 100644 --- a/crates/agent/src/active_thread.rs +++ b/crates/agent/src/active_thread.rs @@ -2082,7 +2082,7 @@ impl ActiveThread { v_flex() .w_full() .map(|parent| { - if let Some(checkpoint) = checkpoint.filter(|_| is_generating) { + if let Some(checkpoint) = checkpoint.filter(|_| !is_generating) { let mut is_pending = false; let mut error = None; if let Some(last_restore_checkpoint) =