Fix routing of encrypted content

This commit is contained in:
Sameer Kankute 2026-03-03 18:32:41 +05:30
parent 521f804350
commit ca597e18c8

View file

@ -1289,6 +1289,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