enable leftover mlock setting

This commit is contained in:
timothycarambat 2024-12-28 17:48:24 -08:00
parent 2149fb709a
commit 4b2bb529c9

View file

@ -186,7 +186,7 @@ class OllamaAILLM {
keep_alive: this.keepAlive,
options: {
temperature,
use_mlock: false,
use_mlock: true,
// There are currently only two performance settings so if its not "base" - its max context.
...(this.performanceMode === "base"
? {}