sessionAddImage method

  1. @override
Future<void> sessionAddImage(
  1. String sessionId,
  2. Uint8List imageBytes, {
  3. String mimeType = 'image/jpeg',
})
override

Adds a user image part to the pending turn.

Implementation

@override
Future<void> sessionAddImage(
  String sessionId,
  Uint8List imageBytes, {
  String mimeType = 'image/jpeg',
}) async {
  throw const OnDeviceAiUnsupportedException(
    'Image input is not supported by the Chrome Prompt API backend.',
  );
}