Skip to content

fix(google-genai): handle PIL.Image inputs in message attribute extraction#2727

Open
jash0803 wants to merge 1 commit intoArize-ai:mainfrom
jash0803:fix/handle-pil-image-input
Open

fix(google-genai): handle PIL.Image inputs in message attribute extraction#2727
jash0803 wants to merge 1 commit intoArize-ai:mainfrom
jash0803:fix/handle-pil-image-input

Conversation

@jash0803
Copy link

@jash0803 jash0803 commented Feb 12, 2026

Fixes #2728

  • Updated _get_attributes_from_message_param to handle lists of content and PIL images.
  • Added helper functions to convert PIL images and inline data to base64 data URLs.
  • Improved logging for unsupported content types.

Note

Cursor Bugbot is generating a summary for commit 844f624. Configure here.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[bug] Unhandled PIL.Image input in request attribute extractor causes unexpected type error

1 participant