Skip to content

Gemini handling for image/gif needs improvement #286628

@pwang347

Description

@pwang347

Gemini models do not support GIF images, see https://ai.google.dev/gemini-api/docs/image-understanding#supported-formats
We need to make sure that either we don't allow attaching it when Gemini is selected or to convert the image instance on upload to png. When transferring from another model, we also need to drop those image/gif references retroactively.

Metadata

Metadata

Labels

debtCode quality issuesgeminiIssues related to the experience with Google Gemini models

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions