Skip to main content

detect_provider

Function detect_provider 

Source
pub fn detect_provider(model: &str, base_url: &str) -> ProviderKind
Expand description

Detect the right provider from a model name or base URL.