Skip to main content

create_model_provider_with_url

Function create_model_provider_with_url 

Source
pub fn create_model_provider_with_url(
    name: &str,
    api_key: Option<&str>,
    api_url: Option<&str>,
) -> Result<Box<dyn ModelProvider>, Error>
Expand description

Factory: create model_provider with optional custom base URL.

Legacy entry point — see create_model_provider.