From 0e8d973d44c007702d048afc4f398bc032861dfb Mon Sep 17 00:00:00 2001 From: yangdx Date: Tue, 16 Sep 2025 15:48:37 +0800 Subject: [PATCH] Shorten progress prefix in entity extraction error messages --- lightrag/operate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/operate.py b/lightrag/operate.py index 6293591c..fab5ea2e 100644 --- a/lightrag/operate.py +++ b/lightrag/operate.py @@ -2222,7 +2222,7 @@ async def extract_entities( await asyncio.wait(pending) # Add progress prefix to the exception message - progress_prefix = f"Chunks[{processed_chunks+1}/{total_chunks}]" + progress_prefix = f"C[{processed_chunks+1}/{total_chunks}]" # Re-raise the original exception with a prefix prefixed_exception = create_prefixed_exception(first_exception, progress_prefix)