mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-24 22:09:56 +00:00
Moves classify_billable_request's route table into litellm-core-utils billable_route and exposes it to the proxy as classify_billable_route, so the proxy's BillableRequestMetricsMiddleware and the Rust gateway's request volume middleware count the same requests under the same routes. The EU JEV decision route /eu_jev/v1/systemone is now an exact route in that table, so it bills on POST whether the built-in route or an operator's own pass-through at that path serves it. The pass-through prefixes are now a fixed list, kept in step with LiteLLMRoutes.mapped_pass_through_routes by a test |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_admission_control_middleware.py | ||
| test_billable_request_metrics_middleware.py | ||
| test_budget_reservation_release_middleware.py | ||
| test_gzip_middleware.py | ||
| test_in_flight_requests_middleware.py | ||
| test_litellm_response_headers_middleware.py | ||
| test_per_request_root_path_middleware.py | ||
| test_prometheus_auth_middleware.py | ||
| test_prometheus_auth_middleware_asgi.py | ||
| test_request_body_decompression_middleware.py | ||
| test_request_size_limit_middleware.py | ||
| test_security_headers_middleware.py | ||