test(providers): preserve unspecified Gemini image output modality (#51149)

Co-authored-by: mateo <277851410+mateo-berri@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
devin-ai-integration[bot] 2026-11-11 06:27:12 +00:00 • committed by GitHub
parent ac6e78cb1f
commit 97f07af044
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ _COUNTS_ONLY_REPLY: Final[dict[str, JsonValue]] = {
"input_tokens": 10,
"input_tokens_details": {"image_tokens": 0, "text_tokens": 0},
"output_tokens": 20,
"output_tokens_details": {"image_tokens": 20, "text_tokens": 0},
"output_tokens_details": {},
}
@ -167,7 +167,7 @@ def test_gemini_image_edit_rejects_an_image_config_string_that_is_not_json(
"input_tokens": 0,
"input_tokens_details": {"image_tokens": 0, "text_tokens": 0},
"output_tokens": 0,
"output_tokens_details": {"image_tokens": 0, "text_tokens": 0},
"output_tokens_details": {},
},
id="empty-usage-object",
),