Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Always enable acp accept/reject buttons for now (#37121)
Richard Feldman8c18f059f195
diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rsindex 80698127292..c718540c217 100644--- a/crates/agent_ui/src/acp/thread_view.rs+++ b/crates/agent_ui/src/acp/thread_view.rs@@ -3071,7 +3071,12 @@ impl AcpThreadView {let active_color = cx.theme().colors().element_selected;let bg_edit_files_disclosure = editor_bg_color.blend(active_color.opacity(0.3));- let pending_edits = thread.has_pending_edit_tool_calls();+ // Temporarily always enable ACP edit controls. This is temporary, to lessen the+ // impact of a nasty bug that causes them to sometimes be disabled when they shouldn't+ // be, which blocks you from being able to accept or reject edits. This switches the+ // bug to be that sometimes it's enabled when it shouldn't be, which at least doesn't+ // block you from using the panel.+ let pending_edits = false;v_flex().mt_1()