fixed default factory

This commit is contained in:
Yannick Stephan
2025-02-20 14:04:59 +01:00
parent 8413537ad2
commit 3e820cc68e

View File

@@ -184,7 +184,7 @@ class LightRAG:
"""Maximum number of concurrent embedding function calls."""
embedding_cache_config: dict[str, Any] = field(
default={
default_factory= lambda: {
"enabled": False,
"similarity_threshold": 0.95,
"use_llm_check": False,