Skip to main content

format_prefix

Function format_prefix 

Source
pub fn format_prefix(token: &str) -> String
Expand description

Format the wrapper opening tag the proxy prepends to a tool response when surfacing queued blocks. The token is embedded in the tag name and is opaque to the proxy — it round-trips through the agent’s tool-message text to run_agent_loop’s confirmation scan.