pub enum CheckpointStep {
AfterUserInput,
BeforeLlm {
messages: Vec<ChatMessage>,
tools: Vec<Value>,
},
BeforeToolCalls {
tool_calls: Vec<(String, String, String)>,
},
AfterToolCalls {
tool_calls: Vec<(String, String, String)>,
results: Vec<ToolResultData>,
},
}Variants§
Trait Implementations§
Source§impl Clone for CheckpointStep
impl Clone for CheckpointStep
Source§fn clone(&self) -> CheckpointStep
fn clone(&self) -> CheckpointStep
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 moreSource§impl Debug for CheckpointStep
impl Debug for CheckpointStep
Source§impl<'de> Deserialize<'de> for CheckpointStep
impl<'de> Deserialize<'de> for CheckpointStep
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 CheckpointStep
impl RefUnwindSafe for CheckpointStep
impl Send for CheckpointStep
impl Sync for CheckpointStep
impl Unpin for CheckpointStep
impl UnsafeUnpin for CheckpointStep
impl UnwindSafe for CheckpointStep
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