mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-06 07:48:06 +00:00
fix(types/guardrails): restore closing paren dropped in main merge
Merge of main into feat-guardrails-alice-wonderfence dropped the closing `)` of the alice_wonderfence import, putting the module docstring inside an open parenthesis and breaking parse of litellm/types/guardrails.py. This cascaded into Black, recursive_detector, and ~20 unit-test jobs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0293c1aa1a
commit
d44f492874
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ from litellm.types.proxy.guardrails.guardrail_hooks.hiddenlayer import (
|
|||
)
|
||||
from litellm.types.proxy.guardrails.guardrail_hooks.alice_wonderfence import (
|
||||
WonderFenceGuardrailConfigModel,
|
||||
)
|
||||
|
||||
"""
|
||||
Pydantic object defining how to set guardrails on litellm proxy
|
||||
|
|
@ -100,6 +101,7 @@ class SupportedGuardrailIntegrations(Enum):
|
|||
LLM_AS_A_JUDGE = "llm_as_a_judge"
|
||||
ALICE_WONDERFENCE = "alice_wonderfence"
|
||||
|
||||
|
||||
class Role(Enum):
|
||||
SYSTEM = "system"
|
||||
ASSISTANT = "assistant"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue