Skip to content

Conversation

@pocketarc
Copy link
Contributor

@pocketarc pocketarc commented Jan 15, 2026

Gemini 3 introduced the media_resolution parameter to control the quality vs token usage tradeoff for multimodal inputs. This PR adds support for setting it via withProviderOptions() on media objects.

Works on Image, Document, Video, and Audio objects. I've added documentation and tests.

…, documents, and audio.

(cherry picked from commit 48851d1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant