From ae757721bf455cd4b685e354686199b3a41f7daf Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Tue, 3 Mar 2026 18:32:41 +0530 Subject: [PATCH] Fix routing of encrypted content --- litellm/router.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/litellm/router.py b/litellm/router.py index d89a5099b01..b4d5359a710 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -1268,6 +1268,11 @@ class Router: ) elif pre_call_check == "enforce_model_rate_limits": _callback = ModelRateLimitingCheck(dual_cache=self.cache) + elif pre_call_check == "encrypted_content_affinity": + from litellm.router_utils.pre_call_checks.encrypted_content_affinity_check import ( + EncryptedContentAffinityCheck, + ) + _callback = EncryptedContentAffinityCheck() if _callback is None: continue