Re-executes the graph from the original input and compares each node's
resulting state hash to the recorded one. verify = "structural" (default)
checks deterministic nodes (functions/evaluators) exactly and, for model
(agent) nodes, does not require the sampled text to match (model output is
nondeterministic); verify = "strict" requires every node to match (sound
only for fully deterministic graphs or archive-served calls). A mismatch
raises llmragent_replay_mismatch naming the first divergent node.
Usage
replay_run(
x,
wf,
verify = c("structural", "strict"),
max_steps = 64L,
quiet = TRUE,
...
)Arguments
- x
A
checkpoint_diroragent_workflow_run.- wf
The
agent_workflow.- verify
"structural"or"strict".- max_steps, quiet, ...
As in
run_workflow().
