fix(responses): call the renamed drops_params helper on the compact path (#49030)

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
This commit is contained in:
ryan-crabbe-berri 2026-10-28 23:08:24 -07:00 • committed by GitHub
parent b7da9a2755
commit bad98c4b02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1218,7 +1218,7 @@ class OpenAIResponsesAPIConfig(BaseResponsesAPIConfig):
def compact_dropped_params(self, litellm_params: GenericLiteLLMParams) -> frozenset[str]:
if self.custom_llm_provider not in _PROVIDERS_WITH_STRICT_COMPACT_PARAMS:
return frozenset()
if _drops_params(litellm_params):
if drops_params(litellm_params):
return _COMPACT_TRACKING_PARAMS | _COMPACT_REJECTED_PARAMS
return _COMPACT_TRACKING_PARAMS