diff --git a/litellm/utils.py b/litellm/utils.py index 18307eebc85..e658ad2e7c0 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -4048,6 +4048,7 @@ def get_optional_params( and custom_llm_provider != "vertex_ai" and custom_llm_provider != "anyscale" and custom_llm_provider != "together_ai" + and custom_llm_provider != "mistral" ): if custom_llm_provider == "ollama" or custom_llm_provider == "ollama_chat": # ollama actually supports json output