mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-25 17:15:37 +02:00
Remove use_mlock from Ollama to solve WARN logs in ollama 0.17
resolves #5182
This commit is contained in:
@@ -277,7 +277,6 @@ class OllamaAILLM {
|
||||
keep_alive: this.keepAlive,
|
||||
options: {
|
||||
temperature,
|
||||
use_mlock: true,
|
||||
num_ctx: this.promptWindowLimit(),
|
||||
},
|
||||
})
|
||||
@@ -330,7 +329,6 @@ class OllamaAILLM {
|
||||
keep_alive: this.keepAlive,
|
||||
options: {
|
||||
temperature,
|
||||
use_mlock: true,
|
||||
num_ctx: this.promptWindowLimit(),
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user