chatRaw method

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

Legacy: raw streaming chat on the implicit _legacyHandle conversation.

Implementation

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