pub struct AnalysisPolicy {
pub min_error_count: usize,
pub min_success_sequence_len: usize,
pub min_reasoning_chars: usize,
}Fields§
§min_error_count: usizeMinimum number of errors on the same tool before flagging. Default: 2.
min_success_sequence_len: usizeMinimum consecutive tool calls for a sequence to be notable. Default: 2.
min_reasoning_chars: usizeMinimum char length of an assistant message to treat as long reasoning. Default: 500.
Trait Implementations§
Source§impl Clone for AnalysisPolicy
impl Clone for AnalysisPolicy
Source§fn clone(&self) -> AnalysisPolicy
fn clone(&self) -> AnalysisPolicy
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 AnalysisPolicy
impl Debug for AnalysisPolicy
Auto Trait Implementations§
impl Freeze for AnalysisPolicy
impl RefUnwindSafe for AnalysisPolicy
impl Send for AnalysisPolicy
impl Sync for AnalysisPolicy
impl Unpin for AnalysisPolicy
impl UnsafeUnpin for AnalysisPolicy
impl UnwindSafe for AnalysisPolicy
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