The previous fix applied _flatten_attributes too broadly, breaking graphiti's internal ExtractedEntities validation (lists were converted to strings). Instead, monkey-patch only _extract_entity_attributes — the exact function that returns entity attribute dicts to node.attributes before Neo4j write. Lists of primitives are preserved; only dict-valued attributes are flattened. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| scripts | ||
| tests | ||
| __init__.py | ||
| pyproject.toml | ||
| requirements.txt | ||
| run.py | ||
| uv.lock | ||
| wsgi.py | ||