Skip to main content

create_ai_provider

Function create_ai_provider 

Source
pub fn create_ai_provider(
    ai_config: &AIConfig,
) -> Result<Box<dyn AIProvider>, SubXError>
Expand description

Create an AI provider from AI configuration, reporting through a no-op sink.

Convenience wrapper over create_ai_provider_with_reporter for callers with no reporting sink to attach.