MCPcopy Create free account
hub / github.com/AI45Lab/Code / load_latest

Method load_latest

core/src/loop_checkpoint.rs:150–162  ·  view source on GitHub ↗
(&self, run_id: &str)

Source from the content-addressed store, hash-verified

148 }
149
150 async fn load_latest(&self, run_id: &str) -> Option<LoopCheckpoint> {
151 match self.inner.load_loop_checkpoint(run_id).await {
152 Ok(opt) => opt,
153 Err(e) => {
154 tracing::warn!(
155 run_id = %run_id,
156 error = %e,
157 "Loop checkpoint load failed"
158 );
159 None
160 }
161 }
162 }
163}
164
165#[cfg(test)]

Callers

nothing calls this directly

Calls 1

load_loop_checkpointMethod · 0.45

Tested by

no test coverage detected