pub enum InsightKind {
RepeatedToolError {
tool_name: String,
error_count: usize,
sample_error: String,
},
SuccessfulToolSequence {
tools: Vec<String>,
context_hint: String,
},
LongReasoning {
summary_hint: String,
},
Synthesized {
text: String,
},
}Variants§
RepeatedToolError
The same tool failed at least min_error_count times in one session.
Fields
SuccessfulToolSequence
A consecutive run of tool calls that completed without any error, followed by an assistant turn with no further tool calls.
Fields
LongReasoning
An assistant message whose reasoning block exceeds min_reasoning_chars.
Synthesized
Free-form insight generated by the LLM during the dreaming synthesis phase.
Implementations§
Trait Implementations§
Source§impl Clone for InsightKind
impl Clone for InsightKind
Source§fn clone(&self) -> InsightKind
fn clone(&self) -> InsightKind
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 moreAuto Trait Implementations§
impl Freeze for InsightKind
impl RefUnwindSafe for InsightKind
impl Send for InsightKind
impl Sync for InsightKind
impl Unpin for InsightKind
impl UnsafeUnpin for InsightKind
impl UnwindSafe for InsightKind
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