litellm/ui
yuneng-jiang b13a7c6790 Fix guardrail_mode.replace crash when backend returns non-string value
The backend type for guardrail_mode is Optional[Union[str, List[str], Dict]]
but the UI typed it as just string, causing a crash when .replace() was
called on null/object/array values.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 12:17:19 -07:00
..
litellm-dashboard Fix guardrail_mode.replace crash when backend returns non-string value 2026-03-18 12:17:19 -07:00