Skip to main content

register_custom_providers

Function register_custom_providers 

Source
pub fn register_custom_providers(custom_providers: &[CustomProviderConfig])
Expand description

Register custom OpenAI-compatible providers from config into the global factory.

This performs a sync/replace: previously registered custom providers are removed first, then the new set is registered. Built-in providers are never touched.