Skip to main content

truncate_tool_output_at

Function truncate_tool_output_at 

Source
pub fn truncate_tool_output_at(output: &str, max_chars: usize) -> String
Expand description

Truncate tool output that exceeds max_chars using head+tail split.