pub fn bounded_preview(s: &str, max_bytes: usize) -> StringExpand description
Bound a final result string for the UI event lane, appending a
metadata-only truncation marker when anything was cut. UTF-8-safe and
greedy via agent_core::BoundedText.
pub fn bounded_preview(s: &str, max_bytes: usize) -> StringBound a final result string for the UI event lane, appending a
metadata-only truncation marker when anything was cut. UTF-8-safe and
greedy via agent_core::BoundedText.