Skip to main content

RequestedStep

Enum RequestedStep 

Source
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.

Fields

§agent_def_hash: String

The hash orchestration presented.

§

BeginGraph

ReplayCursor::begin_graph with this graph document hash.

Fields

§graph_hash: String

The graph hash orchestration presented.

§

NodeEntered

Fields

§node: String

The node id orchestration presented.

§

NodeExited

Fields

§node: String

The node id orchestration presented.

§

NodeSkipped

Fields

§node: String

The node id orchestration presented.

§reason: String

The skip reason orchestration presented.

§

BranchTaken

ReplayCursor::branch_taken for this branch node.

Fields

§node: String

The branch node id orchestration presented.

§case: String

The case name orchestration presented.

§

MapFannedOut

ReplayCursor::map_fanned_out for this map node.

Fields

§node: String

The map node id orchestration presented.

§items: Value

The resolved item list orchestration presented.

§

MapIterationStarted

ReplayCursor::map_iteration_started for this map node and index.

Fields

§node: String

The map node id orchestration presented.

§index: u64

The zero-based iteration index orchestration presented.

§child_run: String

The derived child run id orchestration presented.

§

MapIterationJoined

ReplayCursor::map_iteration_joined for this map node and index.

Fields

§node: String

The map node id orchestration presented.

§index: u64

The zero-based iteration index orchestration presented.

§

Now

§

Random

§

ModelCall

ReplayCursor::model_call with this request hash.

Fields

§request_hash: String

The request hash orchestration presented.

§

ToolCall

ReplayCursor::tool_call with these parameters.

Fields

§tool: String

The tool name orchestration presented.

§input: Value

The input orchestration presented.

§effect: Effect

The effect class orchestration presented.

§idempotency_key: Option<String>

The idempotency key orchestration presented.

§

Suspend

ReplayCursor::suspend with these parameters.

Fields

§reason: String

The suspension reason orchestration presented.

§input_schema: Value

The resume-input schema orchestration presented.

§

AwaitResume

§

BudgetExceeded

ReplayCursor::budget_exceeded with these parameters.

Fields

§budget: Budget

The budget the runtime reported as crossed.

§observed: f64

The observed value the runtime reported.

§

CompleteRun

ReplayCursor::complete_run with this output.

Fields

§output: Value

The final output orchestration produced.

§

FailRun

ReplayCursor::fail_run with this error.

Fields

§error: String

The failure description orchestration produced.

Trait Implementations§

Source§

impl Clone for RequestedStep

Source§

fn clone(&self) -> RequestedStep

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RequestedStep

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for RequestedStep

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for RequestedStep

Source§

fn eq(&self, other: &RequestedStep) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for RequestedStep

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.