mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
* fix(openai.py): ensure openai file object shows up on logs * fix(managed_files.py): return unified file id as b64 str allows retrieve file id to work as expected * fix(managed_files.py): apply decoded file id transformation * fix: add unit test for file id + decode logic * fix: initial commit for litellm_proxy support with CRUD Endpoints * fix(managed_files.py): support retrieve file operation * fix(managed_files.py): support for DELETE endpoint for files * fix(managed_files.py): retrieve file content support supports retrieve file content api from openai * fix: fix linting error * test: update tests * fix: fix linting error * feat(managed_files.py): support reading / writing files in DB * feat(managed_files.py): support deleting file from DB on delete * test: update testing * fix(spend_tracking_utils.py): ensure each file create request is logged correctly * fix(managed_files.py): fix storing / returning managed file object from cache * fix(files/main.py): pass litellm params to azure route * test: fix test * build: add new prisma migration * build: bump requirements * test: add more testing * refactor: cleanup post merge w/ main * fix: fix code qa errors |
||
---|---|---|
.. | ||
caching | ||
experimental_mcp_client | ||
integrations | ||
litellm_core_utils | ||
llms | ||
proxy | ||
responses | ||
router_strategy | ||
conftest.py | ||
log.txt | ||
readme.md | ||
test_cost_calculator.py | ||
test_main.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.py
maps tolitellm/proxy/caching_routes.py
test_<filename>.py
maps tolitellm/<filename>.py