From 352807204f0818541e2f3c24010c92f979d94a2d Mon Sep 17 00:00:00 2001 From: Aarish Alam Date: Tue, 17 Mar 2026 03:42:35 +0530 Subject: [PATCH] Update litellm/types/guardrails.py to description as well Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- litellm/types/guardrails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/types/guardrails.py b/litellm/types/guardrails.py index 413a340f3c3..370fa493d19 100644 --- a/litellm/types/guardrails.py +++ b/litellm/types/guardrails.py @@ -658,7 +658,7 @@ class BaseLitellmParams( ) on_violation: Optional[Literal["warn", "end_session", "block"]] = Field( default=None, - description="For /v1/realtime sessions: 'warn' speaks the violation message and continues; 'end_session' speaks the message and closes the connection.", + description="For /v1/realtime sessions: 'warn' speaks the violation message and continues; 'end_session' speaks the message and closes the connection. 'block' blocks the request (used by guardrails such as MCP Security).", ) realtime_violation_message: Optional[str] = Field( default=None,