Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant: Do not create new context on load (#29480)
Finn Evers06794f35bc15
diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rsindex f205832f97c..522c673a837 100644--- a/crates/assistant/src/assistant_panel.rs+++ b/crates/assistant/src/assistant_panel.rs@@ -320,7 +320,7 @@ impl AssistantPanel {let watch_client_status = Self::watch_client_status(workspace.client().clone(), window, cx);- let mut this = Self {+ Self {pane,workspace: workspace.weak_handle(),width: None,@@ -336,9 +336,7 @@ impl AssistantPanel {client_status: None,watch_client_status: Some(watch_client_status),show_zed_ai_notice: false,- };- this.new_context(window, cx);- this+ }}pub fn toggle_focus(