pub enum HookPoint {
OnRunStart,
EditTranscript,
BeforeModel,
AfterModel,
AnswerModel,
OnModelError,
OnLimit,
BeforeTool,
AfterTool,
OnStop,
OnStuck,
OnRunEnd,
}Expand description
A moment of the loop at which hooks run.
Variants§
OnRunStart
EditTranscript
BeforeModel
AfterModel
AnswerModel
OnModelError
OnLimit
BeforeTool
AfterTool
OnStop
OnStuck
OnRunEnd
Trait Implementations§
impl Copy for HookPoint
Source§impl<'de> Deserialize<'de> for HookPoint
impl<'de> Deserialize<'de> for HookPoint
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 HookPoint
impl StructuralPartialEq for HookPoint
Auto Trait Implementations§
impl Forget for HookPoint
impl Freeze for HookPoint
impl Move for HookPoint
impl RefUnwindSafe for HookPoint
impl Send for HookPoint
impl Sync for HookPoint
impl Unpin for HookPoint
impl UnsafeUnpin for HookPoint
impl UnwindSafe for HookPoint
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