Skip to content

Commit 50a3f4e

Browse files
benbrandtadb-sh
authored andcommitted
acp: Remove feature flag for session config options (zed-industries#48350)
Release Notes: - acp: Support ACP Session Config options for agents which provide them.
1 parent 9276be0 commit 50a3f4e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • crates/agent_servers/src

‎crates/agent_servers/src/acp.rs‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ fn mcp_servers_for_project(project: &Entity<Project>, cx: &App) -> Vec<acp::McpS
963963
}
964964

965965
fn config_state(
966-
cx: &App,
966+
_cx: &App,
967967
modes: Option<acp::SessionModeState>,
968968
models: Option<acp::SessionModelState>,
969969
config_options: Option<Vec<acp::SessionConfigOption>>,
@@ -972,9 +972,7 @@ fn config_state(
972972
Option<Rc<RefCell<acp::SessionModelState>>>,
973973
Option<Rc<RefCell<Vec<acp::SessionConfigOption>>>>,
974974
) {
975-
if cx.has_flag::<AcpBetaFeatureFlag>()
976-
&& let Some(opts) = config_options
977-
{
975+
if let Some(opts) = config_options {
978976
return (None, None, Some(Rc::new(RefCell::new(opts))));
979977
}
980978

0 commit comments

Comments
 (0)