diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rs index 0870f4ce29..30c678b33d 100644 --- a/crates/agent/src/assistant_panel.rs +++ b/crates/agent/src/assistant_panel.rs @@ -1805,6 +1805,10 @@ impl AssistantPanel { } fn should_render_upsell(&self, cx: &mut Context) -> bool { + if !matches!(self.active_view, ActiveView::Thread { .. }) { + return false; + } + if self.hide_trial_upsell || dismissed_trial_upsell() { return false; }