litellm/tests/unit/enterprise
Kerry Lu cc497fd5c0
fix(proxy): fence the Gemini pass-through file list by owner (#54308)
* fix(proxy): fence the Gemini pass-through file list and request body file reads by owner

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

* refactor(proxy): run the single file ownership check through the batch lookup

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

* fix(proxy): walk the body without recursion, chunk the ownership lookup and leave out files a shaped list gives no id for

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

* fix(proxy): refuse a Gemini pass-through body nested too deeply to check and chunk the ownership lookup with find_many_in

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

* fix(proxy): filter the Gemini pass-through file list on GET only so a resumable upload can start

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

* fix(proxy): stop checking Gemini pass-through request bodies for file ownership

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

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-25 11:25:16 -08:00
..
enterprise_callbacks fix(decisions): accept OpenAI input_json content parts on /v1/decisions (#52805) 2026-11-20 13:33:36 -08:00
integrations refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
proxy fix(proxy): fence the Gemini pass-through file list by owner (#54308) 2026-11-25 11:25:16 -08:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
conftest.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00