litellm/tests/unit/llms/vertex_ai/gemini
ryan-crabbe-berri 0266dbb51a
fix(gemini): keep Google's reason on streamed chunks and the assembled response (#52242)
* test(gemini): cover Google's reason on streamed chunks

* fix(gemini): keep Google's reason on streamed chunks and the assembled response

* fix(streaming): keep Google's reason off the chunk before the finish and record finishes one way

* fix(streaming): carry Google's reason only on the closing chunk for every stream path

* fix(gemini): keep Google's unspecified finish code off streamed chunks

* fix(gemini): pass only Google's reason code, never its free-text note
2026-11-17 16:01:46 -08:00
..
__init__.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_context_circulation.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
test_function_call_args_serialization.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_gemini_image_url_missing_field.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
test_gemini_streaming_tool_call_finish_reason.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_grounding_requests.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_long_decode.py fix(gemini): keep Google's reason on streamed chunks and the assembled response (#52242) 2026-11-17 16:01:46 -08:00
test_rejected_thought_signature_retry.py fix(gemini): resend once with the placeholder signature when the other backend rejects a replayed thought signature (#49697) 2026-11-03 01:24:55 +00:00
test_thought_signature_in_tool_call_id.py fix(gemini): stop replaying a client-mangled thought signature from a tool call id (#52207) 2026-11-16 21:39:16 -08:00
test_tool_call_followed_by_text_assistant.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
test_transformation.py fix(gemini): parse tool call arguments with the shared helper (#50020) 2026-11-16 19:31:25 -08:00
test_vertex_ai_gemini_transformation.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_vertex_and_google_ai_studio_gemini.py fix(gemini): keep Google's reason on streamed chunks and the assembled response (#52242) 2026-11-17 16:01:46 -08:00
test_vertex_gemini_unbound_local_error.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00