pub enum RunEvent {
RunStarted {
run_id: String,
session_id: String,
},
RunStep {
run_id: String,
step: usize,
},
LlmCalled {
run_id: String,
message_count: usize,
},
ToolCalled {
run_id: String,
tool_name: String,
},
RunFinished {
run_id: String,
output: String,
},
RunFailed {
run_id: String,
error: String,
},
}Expand description
Lifecycle events emitted during agent execution, used by CallbackHandler implementations.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunEvent
impl<'de> Deserialize<'de> for RunEvent
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 RunEvent
impl StructuralPartialEq for RunEvent
Auto Trait Implementations§
impl Freeze for RunEvent
impl RefUnwindSafe for RunEvent
impl Send for RunEvent
impl Sync for RunEvent
impl Unpin for RunEvent
impl UnsafeUnpin for RunEvent
impl UnwindSafe for RunEvent
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