Skip to main content

truncate_tool_output

Function truncate_tool_output 

Source
pub fn truncate_tool_output(output: &str) -> String
Expand description

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