forked from phoenix/litellm-mirror
(utils.py) - Fix response_format typo for Groq
This commit is contained in:
parent
ec2c70e362
commit
6d61607ee3
1 changed files with 1 additions and 1 deletions
|
@ -5274,7 +5274,7 @@ def get_optional_params(
|
||||||
if tool_choice is not None:
|
if tool_choice is not None:
|
||||||
optional_params["tool_choice"] = tool_choice
|
optional_params["tool_choice"] = tool_choice
|
||||||
if response_format is not None:
|
if response_format is not None:
|
||||||
optional_params["response_format"] = tool_choice
|
optional_params["response_format"] = response_format
|
||||||
|
|
||||||
elif custom_llm_provider == "openrouter":
|
elif custom_llm_provider == "openrouter":
|
||||||
supported_params = get_supported_openai_params(
|
supported_params = get_supported_openai_params(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue