ragflow/graphrag
f0 fb1bedbd3c
fix(_handle_entity_relation_summary): correctly calculate the descriptions_list (#10534)
### 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)
2025-10-15 15:30:06 +08:00
..
general fix(_handle_entity_relation_summary): correctly calculate the descriptions_list (#10534) 2025-10-15 15:30:06 +08:00
light
__init__.py
entity_resolution.py
entity_resolution_prompt.py
query_analyze_prompt.py
search.py
utils.py