Skip to content

Commit 1854c5d

Browse files
Update index.ts, typo in hunk -> chunk in system prompt for unified diff edit
"hunk" is used in this whole file for "chunk". But for function names and variables it is ok. When the hard coded system prompt to be sent for LLMs contains "hunk" for "chunk". Then better to correct this typo atleast in system prompt.
1 parent d02e7cb commit 1854c5d

File tree

1 file changed

+1
-1
lines changed
  • src/core/diff/strategies/new-unified

1 file changed

+1
-1
lines changed

src/core/diff/strategies/new-unified/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Generate a unified diff that can be cleanly applied to modify code files.
131131
132132
3. Group related changes:
133133
- Keep related modifications in the same chunk
134-
- Start new hunks for logically separate changes
134+
- Start new chunks for logically separate changes
135135
- When modifying functions/methods, include the entire block
136136
137137
## Requirements:

0 commit comments

Comments
 (0)