From a1493f56d64566378fa03e3ab095d87ff5f3ee42 Mon Sep 17 00:00:00 2001 From: zrguo <49157727+LarFii@users.noreply.github.com> Date: Thu, 26 Dec 2024 22:09:46 +0800 Subject: [PATCH] Update utils.py --- lightrag/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/utils.py b/lightrag/utils.py index 722cf2bf..b7c9649a 100644 --- a/lightrag/utils.py +++ b/lightrag/utils.py @@ -449,7 +449,7 @@ def dequantize_embedding( async def handle_cache(hashing_kv, args_hash, prompt, mode="default"): """Generic cache handling function""" - if hashing_kv is None or not hashing_kv.global_config.get("enable_l`lm_cache"): + if hashing_kv is None or not hashing_kv.global_config.get("enable_llm_cache"): return None, None, None, None # For naive mode, only use simple cache matching