pub enum RequestedStep {
Show 18 variants
Begin {
agent_def_hash: String,
},
BeginGraph {
graph_hash: String,
},
NodeEntered {
node: String,
},
NodeExited {
node: String,
},
NodeSkipped {
node: String,
reason: String,
},
BranchTaken {
node: String,
case: String,
},
MapFannedOut {
node: String,
items: Value,
},
MapIterationStarted {
node: String,
index: u64,
child_run: String,
},
MapIterationJoined {
node: String,
index: u64,
},
Now,
Random,
ModelCall {
request_hash: String,
},
ToolCall {
tool: String,
input: Value,
effect: Effect,
idempotency_key: Option<String>,
},
Suspend {
reason: String,
input_schema: Value,
},
AwaitResume,
BudgetExceeded {
budget: Budget,
observed: f64,
},
CompleteRun {
output: Value,
},
FailRun {
error: String,
},
}Expand description
What orchestration produced at a divergence position.
One variant per cursor request, carrying the request’s identifying payload, so a divergence error can show both sides of the mismatch.
Variants§
Begin
ReplayCursor::begin with this agent definition hash.
BeginGraph
ReplayCursor::begin_graph with this graph document hash.
NodeEntered
ReplayCursor::node_entered for this node.
NodeExited
ReplayCursor::node_exited for this node.
NodeSkipped
ReplayCursor::node_skipped for this node.
Fields
BranchTaken
ReplayCursor::branch_taken for this branch node.
Fields
MapFannedOut
ReplayCursor::map_fanned_out for this map node.
Fields
MapIterationStarted
ReplayCursor::map_iteration_started for this map node and index.
Fields
MapIterationJoined
ReplayCursor::map_iteration_joined for this map node and index.
Fields
Now
Random
ModelCall
ReplayCursor::model_call with this request hash.
ToolCall
ReplayCursor::tool_call with these parameters.
Fields
Suspend
ReplayCursor::suspend with these parameters.
Fields
AwaitResume
BudgetExceeded
ReplayCursor::budget_exceeded with these parameters.
Fields
CompleteRun
ReplayCursor::complete_run with this output.
FailRun
ReplayCursor::fail_run with this error.
Trait Implementations§
Source§impl Clone for RequestedStep
impl Clone for RequestedStep
Source§fn clone(&self) -> RequestedStep
fn clone(&self) -> RequestedStep
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more