Skip to contents

Rebuilds the paused agent from the checkpoint, applies the recorded decision (approve / reject / edit), and continues the tool loop to completion. The resumed work keeps the original accounting, so the run reads as one continuous exchange.

Usage

resume_run(checkpoint, ...)

# S3 method for class 'agent_resume_result'
as.character(x, ...)

# S3 method for class 'agent_resume_result'
print(x, ...)

Arguments

checkpoint

A llmragent_checkpoint with a decision recorded by approve_tool_call().

...

Reserved.

x

An agent_resume_result object.

Value

An object of class agent_resume_result with text (the final reply), agent (the rebuilt agent, or NULL), and checkpoint (the checkpoint that was resumed).