pub fn compress_tool_output(
tool_name: &str,
tool_input: &Value,
content: &str,
level: CompressionLevel,
) -> StringExpand description
Infallible entry point. On any internal panic-free error we fall back to the raw content unchanged so the agent loop never breaks.