pub fn format_injected_message( msg: &str, source_agent: Option<&str>, include_source: bool, ) -> String
Format a message with optional source agent prefix.