mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
* fix(view_users.tsx): add time tracking logic to debounce search - prevent new queries from being overwritten by previous ones * fix(internal_user_endpoints.py): add sort functionality to user list endpoint * feat(internal_user_endpoints.py): support sort by on `/user/list` * fix(view_users.tsx): enable global sorting allows finding user with highest spend * feat(view_users.tsx): support filtering by sso user id * test(search_users.spec.ts): add tests to ensure filtering works * test: add more unit testing |
||
---|---|---|
.. | ||
caching | ||
experimental_mcp_client | ||
integrations | ||
litellm_core_utils | ||
llms | ||
proxy | ||
responses | ||
router_strategy | ||
router_utils/pre_call_checks | ||
conftest.py | ||
log.txt | ||
readme.md | ||
test_cost_calculator.py | ||
test_main.py | ||
test_router.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