pub async fn summarize(
config: &SummaryConfig,
text: &str,
) -> Result<String, LlmError>Expand description
Generate a summary of the given text.
Uses the configured summary model for cost-effective indexing. API key is automatically detected from environment variables if not configured.