litellm/tests/test_litellm/proxy/openai_files_endpoint
Ryan Crabbe 52ec73c07d fix(proxy): improve team expiry enforcement validation
- Change status codes from 400 to 500 for team metadata misconfig errors
  (callers can't fix admin-set config, 400 is misleading)
- Add anchor value validation to batch endpoint (matching files endpoint)
- Coerce seconds to int to handle string values from metadata
- Add error-path tests: missing keys, invalid anchor, status code assertions
- Add happy-path test: team injects expiry when caller sends nothing
2026-03-03 17:29:39 -08:00
..
test_files_endpoint.py fix(proxy): improve team expiry enforcement validation 2026-03-03 17:29:39 -08:00