Commit 2ade667
committed
fix: enforce full path usage in patch tool
The patch tool sometimes failed to use complete paths when suggesting changes,
leading to potential errors. This change improves the tool's example prompt
to better demonstrate and enforce the use of full paths.
- Updated example to show full path usage (src/hello.py)
- Changed FILENAME to PATH in example prompt to prevent missing path to file
- Added complete file content in example for better context1 parent b3955d5 commit 2ade667
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | | - | |
| 53 | + | |
47 | 54 | | |
48 | | - | |
49 | 55 | | |
50 | 56 | | |
51 | | - | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments