litellm/litellm/proxy/common_utils
Ishaan Jaff c23e4b87dc
[Feat] New LiteLLM Policy engine - create policies to manage guardrails, conditions - permissions per Key, Team (#19612)
* init PolicyMatcher

* TestPolicyMatcherGetMatchingPolicies

* TestPolicyMatcherGetMatchingPolicies

* feat: init PolicyResolver

* init resolver types

* init policy from config

* inint PolicyValidator

* validate policy

* init Architecture Diagram

* test_add_guardrails_from_policy_engine

* init _init_policy_engine

* test updates

* test fixws

* new attachment config

* simplify types

* TestPolicyResolverInheritance

* fix policy resolver

* fix policies

* fix applied policy

* docs fix

* docs fix

* fix linting + QA checks

* fix linting + QA fixes

* test fixes
2026-01-22 19:49:53 -08:00
..
html_forms Change deprecation banner to only show on /sso/key/generate 2025-12-08 16:30:37 -08:00
admin_ui_utils.py [UI Polish] - Polish login screen (#9778) 2025-04-05 14:56:03 -07:00
banner.py test fix - import loc 2025-07-04 17:38:44 -07:00
callback_utils.py [Feat] New LiteLLM Policy engine - create policies to manage guardrails, conditions - permissions per Key, Team (#19612) 2026-01-22 19:49:53 -08:00
custom_openapi_spec.py Refactor add_schema_to_components to move definitions to components/schemas and add corresponding unit test (#17389) 2025-12-02 21:57:07 -08:00
debug_utils.py [Perf] Alexsander fixes round 2 - Oct 18th (#15695) 2025-10-18 11:12:00 -07:00
encrypt_decrypt_utils.py (security) Responses API - prevent User A from retrieving User B's response, if response.id is leaked (#15757) 2025-10-25 13:41:59 -07:00
get_routes.py [Bug Fix] - Get Routes (#13466) 2025-08-09 12:52:23 -07:00
http_parsing_utils.py Allow org admins to view org info 2025-12-24 11:43:36 -08:00
key_rotation_manager.py fix: ensure auto-rotation updates existing AWS secret instead of creating new one (#19455) 2026-01-20 18:30:36 -08:00
load_config_utils.py [Feat] Allow reading custom logger python scripts from s3 (#12623) 2025-07-16 15:07:01 -07:00
openai_endpoint_utils.py [Fix] Exclude litellm_credential_name from Sensitive Data Masker (Updated) (#16958) 2025-11-21 19:09:48 -08:00
openapi_schema_compat.py mypy lint fix 2025-11-01 09:21:25 -07: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 Fix: Clarify database_connection_pool_limit applies per worker, not per instance (#18780) 2026-01-07 13:57:03 -08:00
proxy_state.py (feat) UI - Disable Usage Tab once SpendLogs is 1M+ Rows (#7208) 2024-12-12 18:43:17 -08:00
realtime_utils.py [Perf] Fix bottlenecks degrading realtime endpoint performance (#16670) 2025-11-22 10:01:02 -08:00
reset_budget_job.py Prevent writing default user setting updates to yaml (error in non-root env) + Use central team member budget when max_budget_in_team set on UI (#12533) 2025-07-12 10:13:07 -07:00
swagger_utils.py show all error types on swagger 2024-08-29 18:50:41 -07:00
timezone_utils.py Anthropic unified web search + tool cost tracking support (#10846) 2025-05-14 22:41:12 -07:00