pub fn format_models( caps: &[ProviderCapability], format: &str, pretty: bool, ) -> Result<String>
Format a models listing into the requested output format.