mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-21 14:19:03 +00:00
* feat(key_management_endpoints.py): Support new 'key_type' field allow user to specify if key should be 'management' or 'llm api' key Security fix * test(test_route_checks.py): add unit tests * fix(create_key_button.tsx): add ui component to select key type allows specifying if key can call llm api vs. management routes * feat(create_key_button.tsx): add specifying key type to ui * fix(route_checks.py): add sensitive data masker for user id on not allowed error message prevent leaking sensitive information
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