Skip to main content

build_provider_entries

Function build_provider_entries 

Source
pub async fn build_provider_entries(
    config: &LoadedConfig,
    http_config: HttpStackConfig,
) -> Result<Vec<ProviderEntry>>
Expand description

For each valid ProviderKind in the [providers] section, assemble a ProviderEntry — the default provider is always included; other entries are only included if they declare default_model or models.