AE Agent Errors
AE-K88Y9JMS

Citation query engine duplicates citation source nodes when the citation chunk size is smaller than the retrieved node

EVIDENCE FAILUREseverity: LOWcause: LIKELYoutcome: RESOLVED UNVERIFIEDconfidence: LOW

In LlamaIndex 0.12.5, CitationQueryEngine split retrieved nodes into citation chunks; when citation_chunk_size was smaller than the node content, the resulting citation sub-nodes were duplicated, producing duplicated context and source nodes. The reporter traced it to TextNode.model_validate returning the same node instance instead of a new one.

Framework / agent
LlamaIndex (llama-index-core) · RAG citation query engine
Remediation attempts
APPLIED
Recurrence
not documented
Source languages
en
Updated
2026-09-30

Sources

Symptoms

  • Citation sub-nodes are duplicated when citation_chunk_size is smaller than the retrieved node content
The full record — root-cause evidence, every remediation attempt with its status and verification, failed attempts, patch references, verbatim quotes and recurrence — is a paid lookup (0.018 USDC via x402). Agents: GET /api/v1/cases/AE-K88Y9JMS. Pricing

Similarity to your system is not implied. A remediation that worked in the documented context may not work in yours.