Set the transcript path if not already set.
(&mut self, path: impl Into<PathBuf>)
| 294 | |
| 295 | /// Set the transcript path if not already set. |
| 296 | pub fn set_transcript_path(&mut self, path: impl Into<PathBuf>) { |
| 297 | if self.transcript_path.is_none() { |
| 298 | self.transcript_path = Some(path.into()); |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | /// Clear the current prompt after recording a turn. |
| 303 | /// |