Skip to main content

truncate_context

Function truncate_context 

Source
fn truncate_context(context: &str, max_chars: usize) -> String
Expand description

Truncates context to fit within a character limit.