safe_thinking_emit_len

Function safe_thinking_emit_len 

Source
fn safe_thinking_emit_len(buf: &str) -> usize
Expand description

Return how many bytes from the start of buf are safe to emit as thinking content — i.e. bytes that cannot be part of a </think> tag.