* refactor(aim.py): refactor to support adding aim guardrails on UI * fix(base.py): add ui_friendly_name to config model * feat(ui/): support loading new guardrails from backend api call removes need to onboard each guardrail to ui * fix: don't show optional params if not set and don't show ui_friendly_name (internal param0 * fix(ui/add_guardrail_form.tsx): ensure dynamic provider value is used * fix(ui/): just one-time update the provider map dictionary * fix(ui/): show masked api base / api key on guardrail update * refactor(aporia_ai/): refactor to show on UI * feat(aporia_ai/): add aporia ai guardrail to UI * refactor(guardrails_ai/): refactor to add via UI * refactor(lasso.py): refactor to enable adding lasso guardrails via UI * feat(pangea.py): add pangea guardrail on UI * feat(panw): add panw prisma airs through UI * test: update tests * fix: fix ruff linting error * test: update tests * fix: add missing docs * fix: fix guardrail init * fix: suppress linting errors * fix(proxy_server.py): fix linting error |
||
|---|---|---|
| .. | ||
| caching | ||
| completion_extras/litellm_responses_transformation | ||
| enterprise/enterprise_callbacks | ||
| experimental_mcp_client | ||
| google_genai | ||
| integrations | ||
| litellm_core_utils | ||
| llms | ||
| passthrough | ||
| proxy | ||
| responses | ||
| router_strategy | ||
| router_utils | ||
| secret_managers | ||
| types | ||
| vector_stores | ||
| __init__.py | ||
| conftest.py | ||
| log.txt | ||
| readme.md | ||
| test_constants.py | ||
| test_cost_calculation_log_level.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