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.

acp: Remove feature flag for session config options (#48350)

Ben Brandt8ff52904a28b
diff --git a/crates/agent_servers/src/acp.rs b/crates/agent_servers/src/acp.rs
index d4a30c539dc..6eea5078b1d 100644
--- a/crates/agent_servers/src/acp.rs
+++ b/crates/agent_servers/src/acp.rs
@@ -963,7 +963,7 @@ fn mcp_servers_for_project(project: &Entity<Project>, cx: &App) -> Vec<acp::McpS
}
fn config_state(
- cx: &App,
+ _cx: &App,
modes: Option<acp::SessionModeState>,
models: Option<acp::SessionModelState>,
config_options: Option<Vec<acp::SessionConfigOption>>,
@@ -972,9 +972,7 @@ fn config_state(
Option<Rc<RefCell<acp::SessionModelState>>>,
Option<Rc<RefCell<Vec<acp::SessionConfigOption>>>>,
) {
- if cx.has_flag::<AcpBetaFeatureFlag>()
- && let Some(opts) = config_options
- {
+ if let Some(opts) = config_options {
return (None, None, Some(Rc::new(RefCell::new(opts))));
}