pub enum AgentIterationKind {
Show 16 variants
RunStart,
NodeStart,
NodeComplete,
Custom,
ModelRequest,
ModelStream,
ModelResponse,
Checkpoint,
Suspended,
ToolCall,
ToolReturn,
OutputRetry,
SteeringGuard,
RunComplete,
RunCancelled,
RunFailed,
}Expand description
Coarse iteration event kind for run inspection.
Variants§
RunStart
A run started.
NodeStart
Runtime execution entered a durable node boundary.
NodeComplete
Runtime execution completed a durable node boundary.
Custom
A context sideband event was published.
ModelRequest
A model request was prepared.
ModelStream
A provider stream delta or part event was observed.
ModelResponse
A final model response was applied.
Checkpoint
A durable checkpoint was observed.
Suspended
Execution suspended at a checkpoint.
ToolCall
A tool call was observed.
ToolReturn
A tool return was observed.
OutputRetry
Output validation requested another model turn.
SteeringGuard
Pending steering requested another model turn.
RunComplete
The run completed.
RunCancelled
The run was cooperatively cancelled.
RunFailed
The run failed after preserving recoverable context state.
Trait Implementations§
Source§impl Clone for AgentIterationKind
impl Clone for AgentIterationKind
Source§fn clone(&self) -> AgentIterationKind
fn clone(&self) -> AgentIterationKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AgentIterationKind
Source§impl Debug for AgentIterationKind
impl Debug for AgentIterationKind
Source§impl<'de> Deserialize<'de> for AgentIterationKind
impl<'de> Deserialize<'de> for AgentIterationKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AgentIterationKind
Source§impl PartialEq for AgentIterationKind
impl PartialEq for AgentIterationKind
Source§impl Serialize for AgentIterationKind
impl Serialize for AgentIterationKind
impl StructuralPartialEq for AgentIterationKind
Auto Trait Implementations§
impl Freeze for AgentIterationKind
impl RefUnwindSafe for AgentIterationKind
impl Send for AgentIterationKind
impl Sync for AgentIterationKind
impl Unpin for AgentIterationKind
impl UnsafeUnpin for AgentIterationKind
impl UnwindSafe for AgentIterationKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more