Function keep_long_cut
pub async fn keep_long_cut(
ctx: &ToolCtx,
text: &str,
omitted: u64,
) -> (String, Option<Box<KeptOutput>>)Expand description
keep_long for a text that is the first part of a result of which omitted more bytes were
left out. A keeper cuts such a text back at its end (KeptOutputs::keep); with no keeper the
context’s scrub hook (ToolCtx::with_scrub) does.