mirror of
https://github.com/open-webui/open-webui
synced 2025-02-18 19:08:42 +00:00
fix: keep alive
This commit is contained in:
parent
9b3596001e
commit
94b0daf6fe
@ -141,7 +141,7 @@
|
||||
num_ctx: options.num_ctx !== '' ? options.num_ctx : undefined,
|
||||
num_predict: options.num_predict !== '' ? options.num_predict : undefined
|
||||
},
|
||||
keepAlive: keepAlive ? keepAlive : undefined
|
||||
keepAlive: keepAlive ? (isNaN(keepAlive) ? keepAlive : parseInt(keepAlive)) : undefined
|
||||
});
|
||||
|
||||
dispatch('save');
|
||||
|
Loading…
Reference in New Issue
Block a user