litellm/tests/unit/llms/gemini
mateo-berri f497f2c973 fix(router): answer a fallback's image refusal instead of the earlier 5xx
This line's Python router raised the first error of a failed fallback
chain, so a 5xx followed by a fallback refusal or 422 answered the 5xx,
and the OpenAI SDK retried and billed the whole chain 3 times. The
fallback's refusal or 422 now reaches the client, as main's Rust router
does since 198d52b027.
2026-11-24 14:49:17 -08:00
..
audio_transcription fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:23:56 -08:00
batches feat(gemini): file-backed batch jobs on /v1/batches with output download and spend tracking (#51032) 2026-11-12 02:08:31 +00:00
decisions fix(gemini): name the model on Gemini systemone answers 2026-11-21 17:55:49 -08:00
files feat(gemini): backport extended multimodal file inspection 2026-11-18 19:42:17 +00:00
google_genai test: migrate SDK and proxy-booting legacy CircleCI tests to their tiers (#45758) 2026-10-11 00:17:21 -07:00
image_edit fix(images): reject bracket fields beside a non-object imageConfig, drop them under additional_drop_params, camelCase nested keys 2026-11-22 22:09:51 -08:00
image_generation fix(gemini): return an error instead of an empty 200 when a Gemini image request gets no image 2026-11-20 16:26:35 -08:00
realtime test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
videos test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
__init__.py test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
test_cost_calculator.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_empty_image_response.py fix(router): answer a fallback's image refusal instead of the earlier 5xx 2026-11-24 14:49:17 -08:00
test_gemini_client_setup.py test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
test_gemini_common_utils.py fix(vertex_ai): bring the model-aware Gemini image size tiers and map_vertex_image_size from #48463 2026-11-20 14:14:10 -08:00
test_gemini_image_generation_transformation.py fix(gemini): bill a no-image answer's tokens and keep model text out of the 422 2026-11-20 16:26:35 -08:00
test_gemini_streaming.py test: migrate local_testing SDK and provider tests out of build_and_test (#45760) 2026-10-10 23:14:25 +00:00
test_gemini_tts.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
test_image_usage_transformation.py fix(vertex_ai): bill gemini image text, thinking and priority tokens at their own rates (#51017) 2026-11-12 01:47:50 +00:00