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,
}) => chatRaw(
  text,
  imageBytes: imageBytes,
  audioBytes: audioBytes,
  enableThinking: enableThinking,
).map(extractResponseText).where((text) => text.isNotEmpty);