pub fn replace_markers(text: &str) -> String
Replace model and host turn markers with [marker]: a handoff that carries </s> or <|im_start|> invites whatever reads it to treat the text as a turn boundary.
[marker]
</s>
<|im_start|>