Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix checkpoints not being rendered (#30019)

Cole Miller6d2c39c2655a
diff --git a/crates/agent/src/active_thread.rs b/crates/agent/src/active_thread.rs
index 01195552a69..140294cbbc6 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) =