litellm/litellm/proxy/common_utils
Ephrim Stanley 36dc893770 fix: address review feedback on default tpm/rpm limits
- Use min() across all matching deployments instead of first-wins when
  resolving default_api_key_tpm/rpm_limit for a model group, so
  load-balanced setups with different per-deployment limits always apply
  the most conservative value
- Replace the global SensitiveDataMasker non_sensitive_overrides change
  with a targeted excluded_keys set at the remove_sensitive_info_from_deployment
  call site, avoiding unintended suppression of other fields
- Update the v1 parallel request limiter to pass model_name to
  get_key_model_tpm/rpm_limit so deployment defaults apply there too
- Add 4 tests covering multi-deployment min semantics

Co-Authored-By: Claude (claude-sonnet-4-6) <noreply@anthropic.com>
2026-03-19 01:43:27 -04:00
..
html_forms style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
admin_ui_utils.py [UI Polish] - Polish login screen (#9778) 2025-04-05 14:56:03 -07:00
banner.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
cache_coordinator.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
callback_utils.py feat: ability to trace metrics 2026-02-25 22:03:51 +05:30
custom_openapi_spec.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
debug_utils.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
encrypt_decrypt_utils.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
get_routes.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
http_parsing_utils.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
key_rotation_manager.py fix: as per request changes 2026-02-14 04:34:58 +05:30
load_config_utils.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
openai_endpoint_utils.py fix: address review feedback on default tpm/rpm limits 2026-03-19 01:43:27 -04:00
openapi_schema_compat.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
performance_utils.md feat: Add line_profiler support for performance analysis and fix Windows CRLF issues in Docker builds (#18773) 2026-01-07 11:36:57 -08:00
performance_utils.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
proxy_state.py (feat) UI - Disable Usage Tab once SpendLogs is 1M+ Rows (#7208) 2024-12-12 18:43:17 -08:00
rbac_utils.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
realtime_utils.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
reset_budget_job.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
swagger_utils.py show all error types on swagger 2024-08-29 18:50:41 -07:00
timezone_utils.py fix(budget): fix timezone config lookup and replace hardcoded timezone map with ZoneInfo (#21754) 2026-02-21 19:35:06 -08:00