Skip to main content

parse_custom_provider_prefix

Function parse_custom_provider_prefix 

Source
pub fn parse_custom_provider_prefix(model: &str) -> Option<(&str, &str)>
Expand description

If model starts with provider/, return (provider_name, model_name). Otherwise return None.