pub fn generate_summary(messages: &[Message]) -> Result<String, SummarizeError>Expand description
Generates a summary for a set of session messages using the configured LLM provider.
This is the main entry point for summary generation. It:
- Resolves the provider configuration
- Prepares the conversation transcript from messages
- Calls the LLM API to generate a summary
Returns EmptySession if there are no messages or all messages are empty.
Returns NotConfigured if no provider is set up.