mirror of
https://github.com/open-webui/open-webui.git
synced 2025-04-02 08:59:16 +02:00
Merge pull request #9082 from Alex1607/main
FIX max_tokens not being set properly
This commit is contained in:
commit
40a4443949
@ -666,6 +666,9 @@ def apply_params_to_form_data(form_data, model):
|
||||
if "temperature" in params:
|
||||
form_data["temperature"] = params["temperature"]
|
||||
|
||||
if "max_tokens" in params:
|
||||
form_data["max_tokens"] = params["max_tokens"]
|
||||
|
||||
if "top_p" in params:
|
||||
form_data["top_p"] = params["top_p"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user