Skip to main content

parse_provider_model

Function parse_provider_model 

Source
pub fn parse_provider_model(
    args: Option<&str>,
    ctx: &SetContext<'_>,
    hint: &'static str,
    example: &'static str,
) -> Result<(String, String), SettingError>
Expand description

Parse and validate a provider/model tuple from unset args.