Skip to main content

compute_tool_sequence_key

Function compute_tool_sequence_key 

Source
pub fn compute_tool_sequence_key(
    tools_detail: &[ToolExecDetail],
) -> Option<String>
Expand description

Build a compact tool-sequence key from tools_detail (at most 3 tools joined by →). Used to group decisions by “what tool pattern was used” rather than raw task description. Example: [weather] → “weather”; [http-request, write_output] → “http-request→write_output”.