pub fn create_provider(
kind: SummaryProviderKind,
api_key: String,
model: Option<String>,
) -> Box<dyn SummaryProvider>Expand description
Creates a summary provider for the given kind.
If model is None, uses the default model for the provider kind.
The returned provider is ready to make API calls.