diff --git a/litellm/utils.py b/litellm/utils.py index 6029493c65..3a01628a4d 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -3901,7 +3901,6 @@ def get_optional_params( elif custom_llm_provider == "mistral": supported_params = ["temperature", "top_p", "stream", "max_tokens"] _check_valid_arg(supported_params=supported_params) - optional_params = non_default_params if temperature is not None: optional_params["temperature"] = temperature if top_p is not None: