mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
Applying a database row dropped the runtime layer for every key the row carried, including keys the config file owns. Those runtime entries hold the env-resolved config values, so after a reload a key written as os.environ/<NAME> read back as that literal string. The store now keeps the runtime entry for a key the config owns and clears only the rest. Visible as store_model_in_db silently turning itself off: the reload read the raw reference, coerced it to False, and overwrote the resolved global. |
||
|---|---|---|
| .. | ||
| test_config_resolvers.py | ||
| test_settings_rules.py | ||
| test_settings_store.py | ||