generateChatStream method
Stream a completion for a conversation token by token.
Throws SDKException into the consumer when generation fails.
Implementation
Stream<GenerationEvent> generateChatStream(
List<ChatMessage> messages, {
LlmOptions? options,
}) => _stream(() => _chatRequest(messages, options));