Commit 456aef9
fix(vscode-nes): improve checking for reverting recent edits (#714)
This commit improves the logic for checking if a given solution is reverting recent user edits. It now checks against intermediate states of the last edit step, in addition to the start and end states of all previous edit steps.
It also refines the system prompt to be more explicit about not reverting user edits.
🤖 Generated with [Pochi](https://getpochi.com)
Co-authored-by: Pochi <[email protected]>1 parent e2fcfa1 commit 456aef9
File tree
2 files changed
+15
-1
lines changed- packages/vscode/src/nes
- client
- solution
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
15 | 29 | | |
16 | 30 | | |
0 commit comments