From 8a858fee7c778df09ba77784088bb68b48c5c2c8 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 20 Dec 2024 11:43:24 -0500 Subject: [PATCH] Enable Assistant2 outside of development builds (#22294) This PR removes the gate that limited Assistant2 to development builds, so that we can start testing it out in Nightly. Note that currently this still requires explicit opt-in to the `assistant2` feature flag. Release Notes: - N/A --- crates/zed/src/zed.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs index 5cff09de0f70f8cc0302f0f6fb2539f38ad9d364..284980bf50d2ed863a23d68253caa6575bbad298 100644 --- a/crates/zed/src/zed.rs +++ b/crates/zed/src/zed.rs @@ -300,7 +300,6 @@ fn show_software_emulation_warning_if_needed( } fn initialize_panels(prompt_builder: Arc, cx: &mut ViewContext) { - let release_channel = ReleaseChannel::global(cx); let assistant2_feature_flag = cx.wait_for_flag::(); let git_ui_feature_flag = cx.wait_for_flag::(); @@ -361,7 +360,7 @@ fn initialize_panels(prompt_builder: Arc, cx: &mut ViewContext