pub struct RepeatedToolCallDetection {
pub tool_name: String,
pub count: usize,
pub result_summary: String,
pub arguments_summary: String,
}Expand description
Details surfaced when a loop is recognised. Hosts can render these into a steering message or abort the agent run.
Fields§
§tool_name: StringThe tool that was repeated.
count: usizeConsecutive identical calls observed.
result_summary: StringTruncated preview of the most recent tool result.
arguments_summary: StringTruncated preview of the canonical arguments JSON.
Trait Implementations§
Source§impl Clone for RepeatedToolCallDetection
impl Clone for RepeatedToolCallDetection
Source§fn clone(&self) -> RepeatedToolCallDetection
fn clone(&self) -> RepeatedToolCallDetection
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 RepeatedToolCallDetection
impl Debug for RepeatedToolCallDetection
impl StructuralPartialEq for RepeatedToolCallDetection
Auto Trait Implementations§
impl Freeze for RepeatedToolCallDetection
impl RefUnwindSafe for RepeatedToolCallDetection
impl Send for RepeatedToolCallDetection
impl Sync for RepeatedToolCallDetection
impl Unpin for RepeatedToolCallDetection
impl UnsafeUnpin for RepeatedToolCallDetection
impl UnwindSafe for RepeatedToolCallDetection
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