mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
The config file winning over the database was silent. An admin who had set a value through the UI and later pinned the same key in the file saw their stored value quietly stop applying, with nothing said at boot and nothing said when a later write was refused. Startup now warns once per key whose stored value differs from the file's, naming the key and what to do about it. The refusal raised on a write to a config-owned key carries the same sentence, so the log and the 400 read identically, and both call out that a stored value exists and will never be applied. The /config/update refusal gained the same detail. Keys the file does not declare are untouched: the database still owns them, and a stored value equal to the file's is not worth a warning. |
||
|---|---|---|
| .. | ||
| test_config_resolvers.py | ||
| test_settings_rules.py | ||
| test_settings_store.py | ||