(&self)
| 104 | } |
| 105 | |
| 106 | pub(super) async fn auto_save_if_enabled(&self) { |
| 107 | if self.auto_save { |
| 108 | if let Err(e) = self.save().await { |
| 109 | tracing::warn!("Auto-save failed for session {}: {}", self.session_id, e); |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | /// Delete the loop checkpoint for `run_id` once the run has reached a |
| 115 | /// terminal state in-process. The checkpoint exists only to survive a |
no test coverage detected