mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
Merge pull request #759 from ollama-webui/keep-alive-fix
fix: keep alive
This commit is contained in:
commit
402dc3b9c2
@ -141,7 +141,7 @@
|
|||||||
num_ctx: options.num_ctx !== '' ? options.num_ctx : undefined,
|
num_ctx: options.num_ctx !== '' ? options.num_ctx : undefined,
|
||||||
num_predict: options.num_predict !== '' ? options.num_predict : undefined
|
num_predict: options.num_predict !== '' ? options.num_predict : undefined
|
||||||
},
|
},
|
||||||
keepAlive: keepAlive ? keepAlive : undefined
|
keepAlive: keepAlive ? (isNaN(keepAlive) ? keepAlive : parseInt(keepAlive)) : undefined
|
||||||
});
|
});
|
||||||
|
|
||||||
dispatch('save');
|
dispatch('save');
|
||||||
|
Loading…
Reference in New Issue
Block a user