Set an initial prompt to send automatically when the session starts
(mut self, prompt: String)
| 177 | |
| 178 | /// Set an initial prompt to send automatically when the session starts |
| 179 | pub fn with_initial_prompt(mut self, prompt: String) -> Self { |
| 180 | self.initial_prompt = Some(prompt); |
| 181 | self |
| 182 | } |
| 183 | |
| 184 | /// Check if any popup is currently visible |
| 185 | fn any_popup_visible(&self, chat_view: &ChatView) -> bool { |