### What problem does this PR solve? Since `description_list` was a tuple containing a single element (which was the actual list of descriptions), `len(description_list)` was always **1**. The subsequent check: `if len(description_list) <= 12:` always evaluated to `True` (since $1 \le 12$), even if the inner list contained more than 12 descriptions. This prevented the necessary summarization logic from running for long lists. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| community_report_prompt.py | ||
| community_reports_extractor.py | ||
| entity_embedding.py | ||
| extractor.py | ||
| graph_extractor.py | ||
| graph_prompt.py | ||
| index.py | ||
| leiden.py | ||
| mind_map_extractor.py | ||
| mind_map_prompt.py | ||
| smoke.py | ||