mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
Merge branch 'realtime-guardrail-violation-settings' of https://github.com/BerriAI/litellm into realtime-guardrail-violation-settings
This commit is contained in:
commit
1bbe776d5c
1 changed files with 1 additions and 1 deletions
|
|
@ -522,7 +522,7 @@ const AddGuardrailForm: React.FC<AddGuardrailFormProps> = ({ visible, onClose, a
|
|||
if (endSessionAfterNFails !== undefined && endSessionAfterNFails > 0) {
|
||||
guardrailData.litellm_params.end_session_after_n_fails = endSessionAfterNFails;
|
||||
}
|
||||
if (onViolation) {
|
||||
if (onViolation && selectedEndpointType === "realtime") {
|
||||
guardrailData.litellm_params.on_violation = onViolation;
|
||||
}
|
||||
if (realtimeViolationMessage.trim()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue