diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rs index 3859020f76..0b2df68f0b 100644 --- a/crates/agent_ui/src/acp/thread_view.rs +++ b/crates/agent_ui/src/acp/thread_view.rs @@ -2927,8 +2927,6 @@ impl AcpThreadView { window: &mut Window, cx: &mut Context, ) -> AnyElement { - let install_command = install_command.clone(); - self.install_command_markdown.update(cx, |markdown, cx| { if !markdown.source().contains(&install_command) { markdown.replace(format!("```\n{}\n```", install_command), cx);