mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix import error guardrails
This commit is contained in:
parent
0cba845382
commit
6b7a88d350
2 changed files with 9 additions and 1 deletions
|
@ -113,7 +113,9 @@ def init_guardrails_v2(all_guardrails: dict):
|
|||
|
||||
# Init guardrail CustomLoggerClass
|
||||
if litellm_params["guardrail"] == "aporia":
|
||||
from guardrail_hooks.aporia_ai import _ENTERPRISE_Aporia
|
||||
from litellm.proxy.guardrails.guardrail_hooks.aporia_ai import (
|
||||
_ENTERPRISE_Aporia,
|
||||
)
|
||||
|
||||
_aporia_callback = _ENTERPRISE_Aporia(
|
||||
api_base=litellm_params["api_base"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue