(mut self, prompt: &str)
| 540 | /// Compute and set the prompt hash from the full prompt text. |
| 541 | #[must_use] |
| 542 | pub fn prompt_hash_from_text(mut self, prompt: &str) -> Self { |
| 543 | let hash = blake3::hash(prompt.as_bytes()); |
| 544 | self.prompt_hash = Some(*hash.as_bytes()); |
| 545 | self |
| 546 | } |
| 547 | |
| 548 | /// Set the list of files modified in this turn. |
| 549 | #[must_use] |