Skip to main content

strip_leaked_tool_protocol

Function strip_leaked_tool_protocol 

Source
pub fn strip_leaked_tool_protocol(text: &str) -> String
Expand description

Strip tool-protocol markup from assistant text without recovering calls.

Used by hosts that accumulate streamed deltas before recovery runs, so Auto-review does not treat DSML/<tool_call> blobs as product prose.