diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rs index 3e53ece36c143011d3f1187df5097afbd18dbaed..b5dcee9dc281d1ebd469c66bc903996397279016 100644 --- a/crates/agent/src/assistant_panel.rs +++ b/crates/agent/src/assistant_panel.rs @@ -569,6 +569,7 @@ impl AssistantPanel { ActiveView::Configuration | ActiveView::History => { self.active_view = ActiveView::thread(self.thread.read(cx).thread().clone(), window, cx); + self.message_editor.focus_handle(cx).focus(window); cx.notify(); } _ => {}