* docs(deploy.md): move docker recommendation to `main-stable` * feat(enterprise/internal_user_endpoints.py): expose endpoint for checking available premium users * feat(usage_indictor.tsx): add new element to help track remaining premium users * feat(usage_indicator.tsx): show premium user remaining usage allows users with user caps to know how much is left * fix(vertex_and_google_ai_studio_gemini.py): bubble up stream is not finished, even if stop reason is given prevents early completion of stream Closes https://github.com/BerriAI/litellm/issues/11549 * fix(streaming_handler.py): respect is_finished = False in hidden params internal logic for preventing ending stream early * fix(litellm_license.py): add function to check if user is over limit * fix(internal_user_endpoints.py): add function to check if user is over limit * refactor: move test * docs(customer_endpoints.py): document new param |
||
|---|---|---|
| .. | ||
| caching | ||
| enterprise/enterprise_callbacks/send_emails | ||
| experimental_mcp_client | ||
| integrations | ||
| litellm_core_utils | ||
| llms | ||
| passthrough | ||
| proxy | ||
| responses | ||
| router_strategy | ||
| router_utils/pre_call_checks | ||
| secret_managers | ||
| types | ||
| vector_stores | ||
| __init__.py | ||
| conftest.py | ||
| log.txt | ||
| readme.md | ||
| test_constants.py | ||
| test_cost_calculator.py | ||
| test_logging.py | ||
| test_main.py | ||
| test_router.py | ||
| test_utils.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