ZIm/crates/assistant_tools/src/templates
Oleksiy Syvokon fceba6c795
edit_file: Add diff-fenced output format (#32737)
This format is enabled for Google models as they seem to prefer it.
A relevant unit eval's pass rate has increased from 0.77 to 0.98.

Diff-fenced format looks like this (markdown fences and a line hint are
optional):

```diff
<<<<<<< SEARCH line=42
...
=======
...
>>>>>>> REPLACE
```

Release Notes:

- Agent: Gemini models now use the diff-fenced format when making edits
2025-06-16 14:28:18 +00:00
..
create_file_prompt.hbs agent: Fix creating files with Gemini (#31439) 2025-05-26 16:36:21 +00:00
diff_judge.hbs Introduce a new StreamingEditFileTool (#29733) 2025-05-01 17:37:43 +02:00
edit_file_prompt_diff_fenced.hbs edit_file: Add diff-fenced output format (#32737) 2025-06-16 14:28:18 +00:00
edit_file_prompt_xml.hbs edit_file: Add diff-fenced output format (#32737) 2025-06-16 14:28:18 +00:00