mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
Previously, model_dump(exclude_none=True) included all bool fields (since False != None), causing a partial PATCH to overwrite every other setting to its default. Fix uses exclude_unset=True and reads the existing DB record before merging, giving proper PATCH semantics. This was a pre-existing bug but is fixed here since we're touching this code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_proxy_setting_endpoints.py | ||