From b22a8b216c21737a599b863e3136e158cb0be109 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 30 Jan 2025 22:26:28 +0800 Subject: [PATCH] Fix linting --- lightrag/operate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/operate.py b/lightrag/operate.py index 7fbd23b6..37ea24dc 100644 --- a/lightrag/operate.py +++ b/lightrag/operate.py @@ -911,7 +911,7 @@ async def mix_kg_vector_query( if c["created_at"]: chunk_text = f"[Created at: {time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(c['created_at']))}]\n{chunk_text}" formatted_chunks.append(chunk_text) - + logger.info(f"Truncate {len(chunks)} to {len(formatted_chunks)} chunks") return "\n--New Chunk--\n".join(formatted_chunks) except Exception as e: