mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
Wrong parameter mapping for "frequency_penalty" to "repeat_penalty" in Ollama/completion/transformation.py (#11284)
This commit is contained in:
parent
15ea80d2cf
commit
9df61ef08b
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ class OllamaConfig(BaseConfig):
|
|||
if param == "top_p":
|
||||
optional_params["top_p"] = value
|
||||
if param == "frequency_penalty":
|
||||
optional_params["repeat_penalty"] = value
|
||||
optional_params["frequency_penalty"] = value
|
||||
if param == "stop":
|
||||
optional_params["stop"] = value
|
||||
if param == "response_format" and isinstance(value, dict):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue