pub enum GateTrigger {
NoToolCall,
Pattern(String),
}Expand description
How the gate decides a buffered executor turn is terminal.
Variants§
NoToolCall
First turn without tool calls (subject to gate_min_tool_results).
Pattern(String)
First turn whose visible text matches this regex (searched, not anchored) — for text-protocol harnesses where every turn lacks tool calls and completion is declared with a textual marker instead.
Trait Implementations§
Source§impl Clone for GateTrigger
impl Clone for GateTrigger
Source§fn clone(&self) -> GateTrigger
fn clone(&self) -> GateTrigger
Returns a duplicate of the value. Read more
1.0.0 · 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 GateTrigger
impl Debug for GateTrigger
Source§impl PartialEq for GateTrigger
impl PartialEq for GateTrigger
impl StructuralPartialEq for GateTrigger
Auto Trait Implementations§
impl Freeze for GateTrigger
impl RefUnwindSafe for GateTrigger
impl Send for GateTrigger
impl Sync for GateTrigger
impl Unpin for GateTrigger
impl UnsafeUnpin for GateTrigger
impl UnwindSafe for GateTrigger
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