Skip to main content

extract_text_content_for_format

Function extract_text_content_for_format 

Source
pub fn extract_text_content_for_format(
    format: ToolCallFormat,
    text: &str,
) -> String
Expand description

Extract text content from response, removing tool call markers for the given format.