pub enum AdvisorTriggerConfig {
NoToolCall,
Pattern,
}Expand description
What fires an advisor route’s review.
Variants§
NoToolCall
The executor’s first turn without tool calls.
Pattern
The first turn whose text matches gate_trigger_pattern.
Trait Implementations§
Source§impl Clone for AdvisorTriggerConfig
impl Clone for AdvisorTriggerConfig
Source§fn clone(&self) -> AdvisorTriggerConfig
fn clone(&self) -> AdvisorTriggerConfig
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 AdvisorTriggerConfig
impl Debug for AdvisorTriggerConfig
Source§impl Default for AdvisorTriggerConfig
impl Default for AdvisorTriggerConfig
Source§fn default() -> AdvisorTriggerConfig
fn default() -> AdvisorTriggerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdvisorTriggerConfig
impl<'de> Deserialize<'de> for AdvisorTriggerConfig
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
Source§impl PartialEq for AdvisorTriggerConfig
impl PartialEq for AdvisorTriggerConfig
impl StructuralPartialEq for AdvisorTriggerConfig
Auto Trait Implementations§
impl Freeze for AdvisorTriggerConfig
impl RefUnwindSafe for AdvisorTriggerConfig
impl Send for AdvisorTriggerConfig
impl Sync for AdvisorTriggerConfig
impl Unpin for AdvisorTriggerConfig
impl UnsafeUnpin for AdvisorTriggerConfig
impl UnwindSafe for AdvisorTriggerConfig
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