litellm/tests/unit/enterprise/proxy
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
..
auth
guardrails
hooks fix(proxy): fence the Gemini pass-through file list by owner (#54308) 2026-11-25 11:25:16 -08:00
management_endpoints refactor(auth_cache_invalidation): move the invalidation channel to the native client (#51135) 2026-11-21 18:58:27 +09:00
__init__.py
test_afile_retrieve_returns_unified_id.py
test_audit_logging_endpoints.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_batch_retrieve_input_file_id.py
test_batch_retrieve_registers_missing_output_file_id.py
test_batch_retrieve_returns_unified_input_file_id.py
test_batch_update_db_managed_output_file_id.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_deleted_file_returns_403_not_404.py
test_enterprise_routes.py
test_file_deletion_blocking.py
test_liteadmin.py
test_managed_files_access_check.py
test_managed_files_hook.py fix(managed files): keep one downstream copy per litellm_proxy deployment that covers every target it serves (#54181) 2026-11-25 06:07:13 +00:00