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,
}) {
  _assertOpen();
  return _client._chatOn(
    _conversation!,
    text,
    imageBytes: imageBytes,
    audioBytes: audioBytes,
    enableThinking: enableThinking,
  );
}