acp: Remove feature flag for session config options (#48350)
Release Notes: - acp: Support ACP Session Config options for agents which provide them.
This commit is contained in:
1 parent
3b8d003ccc
commit
8ff52904a2
1 file changed
+2
-4
@@ -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))));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user