fix: only provide suggestions for the selected code ()

This commit is contained in:
yetone 2024-10-10 20:34:20 +08:00 committed by GitHub
parent ec31f348b2
commit 134609a04c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -129,7 +129,11 @@ Break large *SEARCH/REPLACE* blocks into a series of smaller blocks that each ch
Include just the changing lines, and a few surrounding lines if needed for uniqueness.
Do not include long runs of unchanging lines in *SEARCH/REPLACE* blocks.
*DO NOT* include three backticks: {%raw%}```{%endraw%} in your response!
{% if use_xml_format -%}
ONLY change the <code>, DO NOT change the <conext>!
{% else -%}
ONLY change the CODE, DO NOT change the CONTEXT!
{% endif %}
Only create *SEARCH/REPLACE* blocks for files that the user has added to the chat!
To move code within a file, use 2 *SEARCH/REPLACE* blocks: 1 to delete it from its current location, 1 to insert it in the new location.