Answer: The diff-fenced edit format is based on the diff format, but the file path is placed inside the fence. It is primarily used with the Gemini family of models, which often fail to conform to the fencing approach specified in the diff format. Status: Confirmed Entry: tool/aider/features/diff-vs-diff-fenced Revision: 1 Digest: sha256:f47820bb964ce7f0 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:35Z Last changed: 2026-11-13T02:56:35Z Last verified: 2026-11-20T11:43:28Z Next check: 2026-11-21T11:43:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of primary use | Gemini family of models | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/more/edit-formats.html". https://aider.chat/docs/more/edit-formats.html Role: primary. Accessed: 2026-11-20T11:43:28Z Quote: "It is primarily used with the Gemini family of models" (Supports: primary use) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 0bc083499080922f2c1db6e63132d9d9ced66532594d4667b57dd15a1e464002 (captured 2026-11-13T02:56:34Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T02:56:35Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:28Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:28Z Last attempt: 2026-11-20T11:43:28Z Notes and limitations: Extracted automatically from a single official source (section "diff-fenced"). Related: https://latestn.com/tool/aider/features/edit-docker-config How do I use Aider to edit Docker configuration files? https://latestn.com/tool/aider/features/edit-git-config How do I use Aider to edit Git configuration files? https://latestn.com/tool/aider/features/edit-shell-config How do I use Aider to edit shell configuration files like .bashrc? https://latestn.com/tool/aider/features/compiled-languages How does Aider handle linting and testing for compiled languages? https://latestn.com/tool/aider/features/copy-code-context-to-clipboard How do I copy Aider's code context to my clipboard and paste it into an LLM web chat? https://latestn.com/tool/aider/features/create-new-files How do I create new files with Aider? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:35Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/features/diff-vs-diff-fenced/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/aider/features/diff-vs-diff-fenced POST: https://latestn.com/dispute/tool/aider/features/diff-vs-diff-fenced with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/features/diff-vs-diff-fenced?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What is the difference between Aider's diff and diff-fenced edit formats? Revision 1, last verified 2026-11-20T11:43:28Z. https://latestn.com/tool/aider/features/diff-vs-diff-fenced (accessed 2026-11-21T09:53:03Z). @misc{LatestN_tool_aider_features_diff_vs_diff_fenced_r1, title = {What is the difference between Aider's diff and diff-fenced edit formats?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/features/diff-vs-diff-fenced}}, note = {Revision 1; digest sha256:f47820bb964ce7f0; last verified 2026-11-20T11:43:28Z; accessed 2026-11-21T09:53:03Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/aider/features/diff-vs-diff-fenced