Why MMR keeps returning duplicate chunks to your agent: check candidates_limit first

izgorodin · reddit · 2026-10-13

If your agent gets five near-identical passages after enabling maximal marginal relevance, the culprit is often the candidate pool, not the prompt.

Key points:

Original post →

More from coding & agent

coding & agent channel →