agent_ui: Remove the staff-only gate on fast mode toggle

This releases fast mode to everyone. Will cherry pick to preview.
This commit is contained in:
Tom Houlé 2026-05-28 10:00:06 +02:00
parent 58f84cf041
commit 57dd5aae99
No known key found for this signature in database

View file

@ -4190,9 +4190,6 @@ impl ThreadView {
} }
fn fast_mode_available(&self, cx: &Context<Self>) -> bool { fn fast_mode_available(&self, cx: &Context<Self>) -> bool {
if !cx.is_staff() {
return false;
}
self.as_native_thread(cx) self.as_native_thread(cx)
.and_then(|thread| thread.read(cx).model()) .and_then(|thread| thread.read(cx).model())
.map(|model| model.supports_fast_mode()) .map(|model| model.supports_fast_mode())