Set the transcript path if not already set.
(&mut self, path: impl Into<PathBuf>)
| 425 | |
| 426 | /// Set the transcript path if not already set. |
| 427 | pub fn set_transcript_path(&mut self, path: impl Into<PathBuf>) { |
| 428 | if self.transcript_path.is_none() { |
| 429 | self.transcript_path = Some(path.into()); |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | /// Clear the current prompt after recording a turn. |
| 434 | /// |