litellm/tests/unit/llms/gemini
drewv19 f762568127
refactor(typing): clear 102 basedpyright Any errors across 21 files (#54586)
* refactor(typing): clear basedpyright Any errors in realtime, interactions and proxy cache setup

* refactor(typing): type gemini and azure vector store responses and image stream extras

* refactor(typing): narrow Any in vector store types, prompt security, lens pages and json helpers

* refactor(typing): leave the code-owned legacy spend log rows as main has them

* test(gemini): cover the File Search search and create response parsers

* test(realtime): cover the live session error's content type when the provider sends one or none

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-25 19:03:46 -08:00
..
audio_transcription fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:07:15 -08:00
batches feat(gemini): file-backed batch jobs on /v1/batches with output download and spend tracking (#51032) 2026-11-11 12:00:32 -08:00
decisions fix(decisions): keep systemone confidence, extra fields and proxy cost on litellm_proxy calls (#53195) 2026-11-21 12:47:10 -08:00
files feat(gemini): support extended multimodal file inspection on chat completions (#52611) 2026-11-23 19:17:35 -08:00
google_genai fix(guardrails): check one-object parts and tool turns on generateContent (#54359) 2026-11-25 12:32:47 +00:00
image_edit fix(vertex_ai): honor Gemini image size and imageConfig controls on generation and edits (#53580) 2026-11-23 09:05:25 -08:00
image_generation
realtime fix(realtime): enforce TPM limits during realtime sessions (#53689) 2026-11-24 05:15:04 -08:00
vector_stores refactor(typing): clear 102 basedpyright Any errors across 21 files (#54586) 2026-11-25 19:03:46 -08:00
videos feat(videos): add first-class OpenRouter video request fields (#50319) 2026-11-06 16:50:48 -08:00
__init__.py
test_cost_calculator.py
test_empty_image_response.py fix(gemini): return an error instead of an empty 200 when a Gemini image request gets no image (#29125) 2026-11-25 20:55:23 +00:00
test_gemini_client_setup.py chore(cost-map): remove the 52 rows whose provider retired them before 2026 (#49974) 2026-11-03 16:23:06 -08:00
test_gemini_common_utils.py fix(proxy): count a contents-only body on /utils/token_counter (#50710) 2026-11-26 01:21:21 +00:00
test_gemini_image_generation_transformation.py fix(gemini): return an error instead of an empty 200 when a Gemini image request gets no image (#29125) 2026-11-25 20:55:23 +00:00
test_gemini_streaming.py
test_gemini_tts.py
test_image_usage_transformation.py fix(images): normalize null cached token counts (#52857) 2026-11-19 17:49:26 +00:00