diff --git a/litellm/llms/custom_httpx/llm_http_handler.py b/litellm/llms/custom_httpx/llm_http_handler.py index a23a26721c9..f4ea50bda4c 100644 --- a/litellm/llms/custom_httpx/llm_http_handler.py +++ b/litellm/llms/custom_httpx/llm_http_handler.py @@ -1845,7 +1845,7 @@ class BaseLLMHTTPHandler: ) # Apply additional_drop_params for nested field removal - additional_drop_params = litellm_params.additional_drop_params + additional_drop_params = litellm_params.get("additional_drop_params") if additional_drop_params: from litellm.litellm_core_utils.dot_notation_indexing import ( delete_nested_value,