mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 21:42:58 +00:00
fix: advanced params not being applied to ollama
This commit is contained in:
parent
2cd1207e73
commit
890824ced4
@ -863,7 +863,7 @@
|
||||
model: model.id,
|
||||
messages: messagesBody,
|
||||
options: {
|
||||
...(params ?? $settings.params ?? {}),
|
||||
...{ ...($settings?.params ?? {}), ...params },
|
||||
stop:
|
||||
(params?.stop ?? $settings?.params?.stop ?? undefined)
|
||||
? (params?.stop.split(',').map((token) => token.trim()) ?? $settings.params.stop).map(
|
||||
|
Loading…
Reference in New Issue
Block a user