pub enum TraceStep {
LlmCall(LlmCallStep),
ToolCall(ToolCallStep),
ToolResult(ToolResultStep),
AgentThought(AgentThoughtStep),
FinalOutput(FinalOutputStep),
}Expand description
A single step in an execution trace.
Variants§
LlmCall(LlmCallStep)
ToolCall(ToolCallStep)
ToolResult(ToolResultStep)
AgentThought(AgentThoughtStep)
FinalOutput(FinalOutputStep)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceStep
impl<'de> Deserialize<'de> for TraceStep
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
Auto Trait Implementations§
impl Freeze for TraceStep
impl RefUnwindSafe for TraceStep
impl Send for TraceStep
impl Sync for TraceStep
impl Unpin for TraceStep
impl UnsafeUnpin for TraceStep
impl UnwindSafe for TraceStep
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