mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(utils.py): mistral optional param mapping
This commit is contained in:
parent
6cb6bf0727
commit
7b39aacadf
1 changed files with 0 additions and 1 deletions
|
@ -3901,7 +3901,6 @@ def get_optional_params(
|
||||||
elif custom_llm_provider == "mistral":
|
elif custom_llm_provider == "mistral":
|
||||||
supported_params = ["temperature", "top_p", "stream", "max_tokens"]
|
supported_params = ["temperature", "top_p", "stream", "max_tokens"]
|
||||||
_check_valid_arg(supported_params=supported_params)
|
_check_valid_arg(supported_params=supported_params)
|
||||||
optional_params = non_default_params
|
|
||||||
if temperature is not None:
|
if temperature is not None:
|
||||||
optional_params["temperature"] = temperature
|
optional_params["temperature"] = temperature
|
||||||
if top_p is not None:
|
if top_p is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue