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.

agent_ui: Remove the staff-only gate on fast mode toggle (#57914)

Tom Houlé95d9cf14113b
diff --git a/crates/agent_ui/src/conversation_view/thread_view.rs b/crates/agent_ui/src/conversation_view/thread_view.rs
index ba3ad0b5e52..f01063b415e 100644
--- a/crates/agent_ui/src/conversation_view/thread_view.rs
+++ b/crates/agent_ui/src/conversation_view/thread_view.rs
@@ -4183,9 +4183,6 @@ impl ThreadView {
}
fn fast_mode_available(&self, cx: &Context<Self>) -> bool {
- if !cx.is_staff() {
- return false;
- }
self.as_native_thread(cx)
.and_then(|thread| thread.read(cx).model())
.map(|model| model.supports_fast_mode())