From 6d61607ee35e6ca6903f969b3ac973fc2feeecda Mon Sep 17 00:00:00 2001 From: David Manouchehri Date: Tue, 23 Apr 2024 04:25:46 +0000 Subject: [PATCH] (utils.py) - Fix response_format typo for Groq --- litellm/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/utils.py b/litellm/utils.py index ac00a457b..f806ad15e 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -5274,7 +5274,7 @@ def get_optional_params( if tool_choice is not None: optional_params["tool_choice"] = tool_choice if response_format is not None: - optional_params["response_format"] = tool_choice + optional_params["response_format"] = response_format elif custom_llm_provider == "openrouter": supported_params = get_supported_openai_params(