The generic provider params update logic loop was unintentionaly overwriting `patterns` and `blocked_words` with empty values because these fields are managed by a separate component ContentFilterManager and not available in the main form values. Changes: - Excluded `patterns` and `blocked_words` from the generic provider params update loop in guardrail_info.tsx - Ensured these fields are only added to the update payload when explicitly handled by the ContentFilterManager logic (detecting changes via `useRef`). - Added a regression test in guardrail_info.test.tsx to verify that patterns are preserved when only the guardrail name is updated. Fixes #19639 |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||