pub enum TracePattern {
RedundantCall,
ExecutionLoop,
ExcessiveRetries,
}Available on crate feature
eval only.Expand description
Types of trace inefficiency patterns.
Variants§
RedundantCall
Same tool called consecutively with identical arguments.
ExecutionLoop
Repeated sequence of tool calls forming a loop.
ExcessiveRetries
Tool called many times suggesting retry issues.
Trait Implementations§
Source§impl Clone for TracePattern
impl Clone for TracePattern
Source§fn clone(&self) -> TracePattern
fn clone(&self) -> TracePattern
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 TracePattern
impl Debug for TracePattern
Source§impl<'de> Deserialize<'de> for TracePattern
impl<'de> Deserialize<'de> for TracePattern
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TracePattern, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TracePattern, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TracePattern
impl Serialize for TracePattern
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TracePattern
impl RefUnwindSafe for TracePattern
impl Send for TracePattern
impl Sync for TracePattern
impl Unpin for TracePattern
impl UnsafeUnpin for TracePattern
impl UnwindSafe for TracePattern
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