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

Method set_checkpoint_run

core/src/agent/loop_builder.rs:49–51  ·  view source on GitHub ↗

Bind the run id used by per-tool-round checkpoints. Called per execution so a single `AgentLoop` (which is cheap to clone) can host successive runs.

(&mut self, run_id: impl Into<String>)

Source from the content-addressed store, hash-verified

47 /// execution so a single `AgentLoop` (which is cheap to clone) can
48 /// host successive runs.
49 pub fn set_checkpoint_run(&mut self, run_id: impl Into<String>) {
50 self.checkpoint_run_id = Some(run_id.into());
51 }
52}

Callers 1

startMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected