mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
A litellm_enc:: value now counts as stored ciphertext only when its payload decodes to at least the size encrypt_value_helper produces (nacl or AES-GCM). Shorter or non-base64 payloads such as litellm_enc::*** are literals: they are encrypted on write and forwarded unchanged, instead of being reported as undecryptable, which made an edit to such a value keep the previously served header. |
||
|---|---|---|
| .. | ||
| proxy | ||
| __init__.py | ||
| conftest.py | ||
| readme.md | ||
| test_check_unbounded_in_lists.py | ||
| test_conftest.py | ||
Testing for litellm/
This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.
The point of this is to:
- Increase test coverage of
litellm/ - Make it easy for contributors to add tests for the
litellm/package and easily run tests without needing LLM API keys.
File name conventions
litellm/proxy/test_caching_routes.pymaps tolitellm/proxy/caching_routes.pytest_<filename>.pymaps tolitellm/<filename>.py