Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant2: Update some text to use "agent" nomenclature (#27864)
Marshall Bowers133d3f052f9c
diff --git a/crates/assistant2/src/assistant_panel.rs b/crates/assistant2/src/assistant_panel.rsindex 9341a7a323e..1398e6e7e10 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<Workspace>,) -> Task<Result<()>> {let Some(panel) = workspace.panel::<AssistantPanel>(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| {