mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
Merge pull request #3189 from merefield/main
FIX: ollama chat completion proxy internal server 500
This commit is contained in:
commit
8a2f8c0418
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ class OllamaChatConfig:
|
|||
if param == "top_p":
|
||||
optional_params["top_p"] = value
|
||||
if param == "frequency_penalty":
|
||||
optional_params["repeat_penalty"] = param
|
||||
optional_params["repeat_penalty"] = value
|
||||
if param == "stop":
|
||||
optional_params["stop"] = value
|
||||
if param == "response_format" and value["type"] == "json_object":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue