Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Don't always expose streaming edit tool (#47495)
Michael Benfield9201e1f7b7f4
diff --git a/crates/agent/src/thread.rs b/crates/agent/src/thread.rsindex bdf49e625c4..db01622b97e 100644--- a/crates/agent/src/thread.rs+++ b/crates/agent/src/thread.rs@@ -2310,11 +2310,11 @@ impl Thread {&& profile.is_tool_enabled(profile_tool_name){match (tool_name.as_ref(), use_streaming_edit_tool) {+ ("streaming_edit_file", false) | ("edit_file", true) => None,("streaming_edit_file", true) => {// Expose streaming tool as "edit_file"Some((SharedString::from("edit_file"), tool.clone()))}- ("edit_file", true) => None,_ => Some((truncate(tool_name), tool.clone())),}} else {