litellm/tests/unit/enterprise/proxy/hooks
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
..
__init__.py
test_managed_files.py fix(proxy): fence the Gemini pass-through file list by owner (#54308) 2026-11-25 11:25:16 -08:00