mirror of
https://github.com/open-webui/open-webui.git
synced 2025-08-31 00:14:20 +02:00
fix: keep alive
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user