Set a session ID to restore (for "Continue Last Session")
(mut self, session_id: String)
| 171 | |
| 172 | /// Set a session ID to restore (for "Continue Last Session") |
| 173 | pub fn with_restore_session(mut self, session_id: String) -> Self { |
| 174 | self.restore_session_id = Some(session_id); |
| 175 | self |
| 176 | } |
| 177 | |
| 178 | /// Set an initial prompt to send automatically when the session starts |
| 179 | pub fn with_initial_prompt(mut self, prompt: String) -> Self { |
no outgoing calls
no test coverage detected