mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-25 02:26:33 +00:00
* fix(router.py): use more descriptive error message * fix(proxy/_types.py): note `/team/member_update` is a self-managed route route has it's own logic for rbac - enables team admins to update member permissions Fixes issue where team admins on UI could not update member permissions * fix(token_counter.py): move log line to being '.debug' instead of '.error' Fixes https://github.com/BerriAI/litellm/issues/12269
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