From 7b39aacadfb0524c5258207143d5756c5b0615fa Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 17 Jan 2024 09:44:21 -0800 Subject: [PATCH] fix(utils.py): mistral optional param mapping --- litellm/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/utils.py b/litellm/utils.py index 6029493c65c..3a01628a4db 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: