mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
rename Aporia Guardrail
This commit is contained in:
parent
5c1a5978f9
commit
7bffe2a0fa
5 changed files with 12 additions and 11 deletions
|
@ -114,10 +114,10 @@ def init_guardrails_v2(all_guardrails: dict):
|
|||
# Init guardrail CustomLoggerClass
|
||||
if litellm_params["guardrail"] == "aporia":
|
||||
from litellm.proxy.guardrails.guardrail_hooks.aporia_ai import (
|
||||
_ENTERPRISE_Aporia,
|
||||
AporiaGuardrail,
|
||||
)
|
||||
|
||||
_aporia_callback = _ENTERPRISE_Aporia(
|
||||
_aporia_callback = AporiaGuardrail(
|
||||
api_base=litellm_params["api_base"],
|
||||
api_key=litellm_params["api_key"],
|
||||
guardrail_name=guardrail["guardrail_name"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue