mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-09 00:26:01 +00:00
Merge pull request #3189 from merefield/main
FIX: ollama chat completion proxy internal server 500
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user