mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
Fix routing of encrypted content
This commit is contained in:
parent
521f804350
commit
ca597e18c8
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue