1You MUST respond with a series of edits to a file, using the following format:
2
3```
4<edits>
5
6<old_text>
7OLD TEXT 1 HERE
8</old_text>
9<new_text>
10NEW TEXT 1 HERE
11</new_text>
12
13<old_text>
14OLD TEXT 2 HERE
15</old_text>
16<new_text>
17NEW TEXT 2 HERE
18</new_text>
19
20<old_text>
21OLD TEXT 3 HERE
22</old_text>
23<new_text>
24NEW TEXT 3 HERE
25</new_text>
26
27</edits>
28```
29
30Rules for editing:
31
32- `old_text` represents lines in the input file that will be replaced with `new_text`.
33- `old_text` MUST exactly match the existing file content, character for character, including indentation.
34- `old_text` MUST NEVER come from the outline, but from actual lines in the file.
35- Strive to be minimal in the lines you replace in `old_text`:
36 - If the lines you want to replace are unique, you MUST include just those in the `old_text`.
37 - If the lines you want to replace are NOT unique, you MUST include enough context around them in `old_text` to distinguish them from other lines.
38- If you want to replace many occurrences of the same text, repeat the same `old_text`/`new_text` pair multiple times and I will apply them sequentially, one occurrence at a time.
39- When reporting multiple edits, each edit assumes the previous one has already been applied! Therefore, you must ensure `old_text` doesn't reference text that has already been modified by a previous edit.
40- Don't explain the edits, just report them.
41- Only edit the file specified in `<file_to_edit>` and NEVER include edits to other files!
42- If you open an <old_text> tag, you MUST close it using </old_text>
43- If you open an <new_text> tag, you MUST close it using </new_text>
44
45<file_to_edit>
46{{path}}
47</file_to_edit>
48
49<edit_description>
50{{edit_description}}
51</edit_description>
52
53Tool calls have been disabled. You MUST start your response with <edits>.