chat method

Stream<String> chat(
  1. String text, {
  2. List<Uint8List>? imageBytes,
  3. Uint8List? audioBytes,
  4. bool enableThinking = false,
})

Legacy: streaming chat on the implicit _legacyHandle conversation.

Implementation

Stream<String> chat(
  String text, {
  List<Uint8List>? imageBytes,
  Uint8List? audioBytes,
  bool enableThinking = false,
}) {
  _assertConversation();
  return _legacyHandle!.chat(text,
      imageBytes: imageBytes,
      audioBytes: audioBytes,
      enableThinking: enableThinking);
}