assistant: Feature flag terminal inline assistant (#13732)
This PR adds a feature flag for the terminal inline assistant because we want to keep it internal for now. Release Notes: - N/A
This commit is contained in:
@@ -462,6 +462,11 @@ impl AssistantPanel {
|
||||
.focus_handle(cx)
|
||||
.contains_focused(cx)
|
||||
{
|
||||
use feature_flags::FeatureFlagAppExt;
|
||||
if !cx.has_flag::<feature_flags::TerminalInlineAssist>() {
|
||||
return None;
|
||||
}
|
||||
|
||||
if let Some(terminal_view) = terminal_panel
|
||||
.read(cx)
|
||||
.pane()
|
||||
|
||||
Reference in New Issue
Block a user