From 133d3f052f9c6fd4240745b79f853fdbd66a7034 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Tue, 1 Apr 2025 14:33:28 -0400 Subject: [PATCH] assistant2: Update some text to use "agent" nomenclature (#27864) This PR updates some text in the Agent Panel to use the "agent" nomenclature. Release Notes: - N/A --- crates/assistant2/src/assistant_panel.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/assistant2/src/assistant_panel.rs b/crates/assistant2/src/assistant_panel.rs index 9341a7a323..1398e6e7e1 100644 --- a/crates/assistant2/src/assistant_panel.rs +++ b/crates/assistant2/src/assistant_panel.rs @@ -768,7 +768,7 @@ impl AssistantPanel { IconButton::new("new", IconName::Ellipsis) .icon_size(IconSize::Small) .style(ButtonStyle::Subtle), - Tooltip::text("Toggle Assistant Menu"), + Tooltip::text("Toggle Agent Menu"), ) .anchor(Corner::TopRight) .with_handle(self.assistant_dropdown_menu_handle.clone()) @@ -848,7 +848,7 @@ impl AssistantPanel { .gap_1() .child( h_flex().child( - Headline::new("Welcome to the Assistant Panel") + Headline::new("Welcome to the Agent Panel") ), ) .when(no_error, |parent| { @@ -935,7 +935,7 @@ impl AssistantPanel { parent .child( h_flex().child( - Label::new("To start using the assistant, configure at least one LLM provider.") + Label::new("To start using the agent, configure at least one LLM provider.") .color(Color::Muted) .mb_2p5() ) @@ -1278,7 +1278,7 @@ impl AssistantPanelDelegate for ConcreteAssistantPanelDelegate { cx: &mut Context, ) -> Task> { let Some(panel) = workspace.panel::(cx) else { - return Task::ready(Err(anyhow!("Assistant panel not found"))); + return Task::ready(Err(anyhow!("Agent panel not found"))); }; panel.update(cx, |panel, cx| {