fix: properly log settings as structlog kwargs instead of dropping them

This commit is contained in:
Pratik Narola 2026-01-16 00:40:53 +05:30
parent 6f9b545c15
commit 82accabc73

View file

@ -60,7 +60,14 @@ class Mem0Manager:
def __init__(self): def __init__(self):
# Custom endpoint configuration with graph memory enabled # Custom endpoint configuration with graph memory enabled
logger.info("Initializing Mem0Manager with custom endpoint") logger.info(
"Initializing Mem0Manager with custom endpoint",
model=settings.default_model,
embedding_model=settings.embedding_model,
embedding_dims=settings.embedding_dims,
qdrant_host=settings.qdrant_host,
neo4j_uri=settings.neo4j_uri,
)
config = { config = {
"version": "v1.1", "version": "v1.1",
"enable_graph": True, "enable_graph": True,