Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

StreamingEditFileTool: Disable for now (#47658)

Michael Benfielddd8e5a9417e0
diff --git a/crates/agent/src/thread.rs b/crates/agent/src/thread.rs
index db01622b97e..5e7145f7d9b 100644
--- a/crates/agent/src/thread.rs
+++ b/crates/agent/src/thread.rs
@@ -8,7 +8,7 @@ use crate::{
};
use acp_thread::{MentionUri, UserMessageId};
use action_log::ActionLog;
-use feature_flags::{AgentV2FeatureFlag, FeatureFlagAppExt as _, SubagentsFeatureFlag};
+use feature_flags::{FeatureFlagAppExt as _, SubagentsFeatureFlag};
use agent_client_protocol as acp;
use agent_settings::{
@@ -2292,8 +2292,7 @@ impl Thread {
}
}
- let use_streaming_edit_tool =
- cx.has_flag::<AgentV2FeatureFlag>() && model.supports_streaming_tools();
+ let use_streaming_edit_tool = false;
let mut tools = self
.tools