Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 1276fbc

Browse files
committed
turn off all kidns of caching
1 parent e2bc67a commit 1276fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/llamaCPP.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ bool llamaCPP::LoadModelImpl(std::shared_ptr<Json::Value> jsonBody) {
656656
params.cont_batching = jsonBody->get("cont_batching", false).asBool();
657657
this->clean_cache_threshold =
658658
jsonBody->get("clean_cache_threshold", 5).asInt();
659-
this->caching_enabled = jsonBody->get("caching_enabled", true).asBool();
659+
this->caching_enabled = jsonBody->get("caching_enabled", false).asBool();
660660
this->user_prompt = jsonBody->get("user_prompt", "USER: ").asString();
661661
this->ai_prompt = jsonBody->get("ai_prompt", "ASSISTANT: ").asString();
662662
this->system_prompt =

0 commit comments

Comments
 (0)