pub fn tool_sequence_patterns(
tools: &[String],
) -> Vec<(String, String, i32, f32)>Expand description
Tool sequences seen often enough to be a habit: each pair “after A, B”
that occurs at least three times in tools (calls in order), with a
confidence from its share of all calls (capped at 0.9).