zrguo commited on
Commit
f08f8d2
·
unverified ·
1 Parent(s): 866e313

Update utils.py

Browse files
Files changed (1) hide show
  1. lightrag/utils.py +1 -1
lightrag/utils.py CHANGED
@@ -449,7 +449,7 @@ def dequantize_embedding(
449
 
450
  async def handle_cache(hashing_kv, args_hash, prompt, mode="default"):
451
  """Generic cache handling function"""
452
- if hashing_kv is None or not hashing_kv.global_config.get("enable_l`lm_cache"):
453
  return None, None, None, None
454
 
455
  # For naive mode, only use simple cache matching
 
449
 
450
  async def handle_cache(hashing_kv, args_hash, prompt, mode="default"):
451
  """Generic cache handling function"""
452
+ if hashing_kv is None or not hashing_kv.global_config.get("enable_llm_cache"):
453
  return None, None, None, None
454
 
455
  # For naive mode, only use simple cache matching