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

Method resume_run

core/src/agent_api.rs:752–754  ·  view source on GitHub ↗

Resume a previously-checkpointed run on this session. Loads the latest [`LoopCheckpoint`](crate::loop_checkpoint::LoopCheckpoint) stored under `checkpoint_run_id` and replays the agent loop from that boundary state. A **new** run id is allocated for the resumed work; the relationship between the old and new run is host-tracked — the framework does not interpret it. Returns an error when no `Sess

(&self, checkpoint_run_id: &str)

Source from the content-addressed store, hash-verified

750 /// Returns an error when no `SessionStore` is configured on this
751 /// session, or when no checkpoint exists for `checkpoint_run_id`.
752 pub async fn resume_run(&self, checkpoint_run_id: &str) -> Result<AgentResult> {
753 conversation_runtime::resume_run(self, checkpoint_run_id).await
754 }
755
756 /// Send a prompt with image attachments and wait for the complete response.
757 ///

Calls 1

resume_runFunction · 0.85