mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
Greptile flagged that guardrails and litellm_credential_name were added to the PATCH on every save regardless of whether the user changed them (an empty guardrails array is truthy, and the credential name was sent whenever non-empty), which both contradicts the send-only-what-changed design and lets an unrelated save re-assert a credential name that was changed elsewhere since the form was opened. Both are now gated on isFieldTouched like the other scalars; a touched-but-empty guardrails still sends [] to clear, and the credential name typed into the LiteLLM Params JSON is still stripped so the selector stays the source of truth |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||