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:
lior-k 2026-04-30 20:16:12 +03:00
parent 0293c1aa1a
commit d44f492874
No known key found for this signature in database

View file

@ -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"