mirror of
https://github.com/open-webui/open-webui
synced 2025-01-30 22:39:03 +00:00
fix: new params do not require legacy fallback
This commit is contained in:
parent
0d6440f5c0
commit
14440014e5
@ -652,7 +652,6 @@
|
|||||||
options.top_k = settings.top_k ?? '';
|
options.top_k = settings.top_k ?? '';
|
||||||
options.top_p = settings.top_p ?? '';
|
options.top_p = settings.top_p ?? '';
|
||||||
options.num_ctx = settings.num_ctx ?? '';
|
options.num_ctx = settings.num_ctx ?? '';
|
||||||
options.num_predict = settings.num_predict ?? '';
|
|
||||||
options = { ...options, ...settings.options };
|
options = { ...options, ...settings.options };
|
||||||
options.stop = (settings?.options?.stop ?? []).join(',');
|
options.stop = (settings?.options?.stop ?? []).join(',');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user