mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Update litellm/types/guardrails.py to description as well
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
6adb6a632d
commit
352807204f
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue