chat method

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

Implementation

@override
Stream<String> chat(
  String text, {
  List<Uint8List>? imageBytes,
  Uint8List? audioBytes,
  bool enableThinking = false,
}) => _turn(
  _message(text, imageBytes, audioBytes),
  (live) => live.chat(
    text,
    imageBytes: imageBytes,
    audioBytes: audioBytes,
    enableThinking: enableThinking,
  ),
  raw: false,
);