From b4cb884d6017c60f06b4332c43c8a649f2c3424d Mon Sep 17 00:00:00 2001 From: yucheng Date: Wed, 23 Sep 2026 07:10:34 +0000 Subject: [PATCH] fix(proxy): resolve store_batch_line_items_in_callbacks through the settings store Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/proxy_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index a7b875dc71c..d8b6d0537f1 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -7593,7 +7593,7 @@ class ProxyConfig: async def _apply_batch_line_items_setting(self, db_values: Mapping[str, SettingsJsonValue]) -> None: key: Final = "store_batch_line_items_in_callbacks" - if key not in db_values or self.settings.owned_by_config(key): + if key not in db_values and not self.settings.owned_by_config(key): return value: Final = coerce_bool(self.settings.get(key)) if value is not None: