diff --git a/lua/avante/templates/planning.avanterules b/lua/avante/templates/planning.avanterules index 9bd146f..8699290 100644 --- a/lua/avante/templates/planning.avanterules +++ b/lua/avante/templates/planning.avanterules @@ -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 , DO NOT change the ! +{% 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.