Fix routing of encrypted content
This commit is contained in:
parent
521f804350
commit
ca597e18c8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user