Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
acp: Hide feedback buttons for external agents (#36630)
Agus Zubiaga9e34bb3f0589
diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rsindex 0dfa3d259e4..f4c0ce97847 100644--- a/crates/agent_ui/src/acp/thread_view.rs+++ b/crates/agent_ui/src/acp/thread_view.rs@@ -3815,7 +3815,11 @@ impl AcpThreadView {.flex_wrap().justify_end();- if AgentSettings::get_global(cx).enable_feedback {+ if AgentSettings::get_global(cx).enable_feedback+ && self+ .thread()+ .is_some_and(|thread| thread.read(cx).connection().telemetry().is_some())+ {let feedback = self.thread_feedback.feedback;container = container.child(div().visible_on_hover("thread-controls-container").child(