mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
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:
parent
ac6e78cb1f
commit
97f07af044
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue