(utils.py) - Fix response_format typo for Groq

This commit is contained in:
David Manouchehri 2024-04-23 04:25:46 +00:00
parent 3b6d204314
commit 68bf14b2a5

View file

@ -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(