pub enum AgentExecutionNode {
RunStart,
PrepareModelRequest,
BeforeModelRequest,
ModelResponse,
ToolCall,
ToolReturn,
ValidateOutput,
RunComplete,
RunFailed,
}Expand description
Named execution boundary in the agent loop.
Variants§
RunStart
Run initialization completed.
PrepareModelRequest
The next model request is about to be prepared.
BeforeModelRequest
The model request is about to be sent or skipped by policy.
ModelResponse
A model response has been applied to state.
ToolCall
A function tool call is about to execute.
ToolReturn
A function tool result has been applied to state.
ValidateOutput
Final output validation is about to run.
RunComplete
The run completed.
RunFailed
The run failed.
Trait Implementations§
Source§impl Clone for AgentExecutionNode
impl Clone for AgentExecutionNode
Source§fn clone(&self) -> AgentExecutionNode
fn clone(&self) -> AgentExecutionNode
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 AgentExecutionNode
Source§impl Debug for AgentExecutionNode
impl Debug for AgentExecutionNode
Source§impl<'de> Deserialize<'de> for AgentExecutionNode
impl<'de> Deserialize<'de> for AgentExecutionNode
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 AgentExecutionNode
Source§impl PartialEq for AgentExecutionNode
impl PartialEq for AgentExecutionNode
Source§fn eq(&self, other: &AgentExecutionNode) -> bool
fn eq(&self, other: &AgentExecutionNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentExecutionNode
impl Serialize for AgentExecutionNode
impl StructuralPartialEq for AgentExecutionNode
Auto Trait Implementations§
impl Freeze for AgentExecutionNode
impl RefUnwindSafe for AgentExecutionNode
impl Send for AgentExecutionNode
impl Sync for AgentExecutionNode
impl Unpin for AgentExecutionNode
impl UnsafeUnpin for AgentExecutionNode
impl UnwindSafe for AgentExecutionNode
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