litellm/litellm/llms/gemini
devin-ai-integration[bot] 153e5ed185
fix(fal_ai): reuse the status client and headers on the video result probe (#42511)
* fix(fal_ai): reuse the status client and headers on the video result probe

The Fal result GET issued after a COMPLETED status poll built its own default
client and only carried Authorization and Content-Type, so an injected client,
a request-level ssl_verify and extra_headers were honored on the status GET but
not on the result GET, and a transport failure on that probe escaped as a 500.
The handler now hands the selected sync or async client to the provider status
transform, Fal reuses it with the full validated header set, and a probe
transport error stays non-terminal like the existing 429 and 5xx handling

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(fal_ai): mark the result probe header dict as mutable-ok for the type discipline gate

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(fal_ai): move the result probe repro to tests/integration

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(e2e): restore the shared e2e helpers to the merge base

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: kerry <kerry@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-22 13:12:51 -07:00
..
agents refactor(typing): replace Any with proven types in 65 backend files 2026-09-02 09:11:36 +00:00
audio_transcription fix(gemini): ignore non-string response_format when deciding on word timestamps 2026-08-27 13:15:17 -07:00
chat fix(gemini): simplify model version check (#42465) 2026-09-22 09:53:22 -07:00
context_caching
count_tokens refactor: replace Any with precise types across 54 modules 2026-09-14 11:13:39 +00:00
files refactor(types): replace Any with real types across 54 more backend files 2026-08-29 19:00:43 +00:00
google_genai Merge pull request #38869 from BerriAI/litellm_fix_guardrail_route_call_types 2026-09-07 15:15:51 -07:00
image_edit fix(cost): honor deployment pricing for image generation (#39311) 2026-09-22 11:40:39 -07:00
image_generation fix(cost): honor deployment pricing for image generation (#39311) 2026-09-22 11:40:39 -07:00
interactions refactor(interactions): remove expired use_legacy_interactions_schema shim 2026-09-17 20:14:07 +00:00
realtime refactor(types): replace Any with proven types in 32 files 2026-09-21 10:51:46 +00:00
vector_stores refactor(s3_vectors): embed search queries through the shared vector store executor 2026-09-02 19:26:31 -07:00
videos fix(fal_ai): reuse the status client and headers on the video result probe (#42511) 2026-09-22 13:12:51 -07:00
common_utils.py refactor(types): replace Any with real types across 54 more backend files 2026-08-29 19:00:43 +00:00
cost_calculator.py refactor: dedupe server_tool_use web search reads and type fresh test locals 2026-08-27 08:01:52 +00:00
image_usage_transformation.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00