Set the transcript path if not already set.
(&mut self, path: impl Into<PathBuf>)
| 266 | |
| 267 | /// Set the transcript path if not already set. |
| 268 | pub fn set_transcript_path(&mut self, path: impl Into<PathBuf>) { |
| 269 | if self.transcript_path.is_none() { |
| 270 | self.transcript_path = Some(path.into()); |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | /// Clear the current prompt after recording a turn. |
| 275 | /// |