mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix make lakera ai free guardrail
This commit is contained in:
parent
4665487558
commit
9d809e8404
4 changed files with 30 additions and 26 deletions
|
@ -125,7 +125,7 @@ def init_guardrails_v2(all_guardrails: dict):
|
|||
)
|
||||
litellm.callbacks.append(_aporia_callback) # type: ignore
|
||||
elif litellm_params["guardrail"] == "lakera":
|
||||
from litellm.proxy.enterprise.enterprise_hooks.lakera_ai import (
|
||||
from litellm.proxy.guardrails.guardrail_hooks.lakera_ai import (
|
||||
lakeraAI_Moderation,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue