pub struct ToolLoopDetector { /* private fields */ }Expand description
Stateful detector that tracks tool calls and checks for loops.
Implementations§
Source§impl ToolLoopDetector
impl ToolLoopDetector
pub fn new(config: LoopDetectionConfig) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolLoopDetector
impl RefUnwindSafe for ToolLoopDetector
impl Send for ToolLoopDetector
impl Sync for ToolLoopDetector
impl Unpin for ToolLoopDetector
impl UnsafeUnpin for ToolLoopDetector
impl UnwindSafe for ToolLoopDetector
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