mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(utils.py): fix compatibility between together_ai and openai-python
This commit is contained in:
parent
156cccf706
commit
2e75279639
1 changed files with 1 additions and 3 deletions
|
@ -4285,9 +4285,7 @@ def get_optional_params(
|
|||
if max_tokens is not None:
|
||||
optional_params["max_tokens"] = max_tokens
|
||||
if frequency_penalty is not None:
|
||||
optional_params["repetition_penalty"] = (
|
||||
frequency_penalty # https://docs.together.ai/reference/inference
|
||||
)
|
||||
optional_params["frequency_penalty"] = frequency_penalty
|
||||
if stop is not None:
|
||||
optional_params["stop"] = stop
|
||||
if tools is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue