mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-21 10:15:47 +00:00
test(gemini): fix generator-expression closing paren in media tests
This commit is contained in:
parent
8df4ef2078
commit
5c59f3c96d
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ def test_gemini_convert_messages_sibling_file_block_for_pre_gemini_3():
|
|||
)
|
||||
new_fr = next(p["function_response"] for p in new_parts if "function_response" in p)
|
||||
nested = new_fr.get("parts") or []
|
||||
assert any(p.get("inline_data", {}).get("mime_type") == "application/pdf" for p in nested]
|
||||
assert any(p.get("inline_data", {}).get("mime_type") == "application/pdf" for p in nested)
|
||||
|
||||
|
||||
def _get_gemini_function_response_inline_data_parts(result):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue