Skip to content

Commit a94829a

Browse files
committed
chore: update edit-code feature system prompt
1 parent ae63156 commit a94829a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/resources/prompts/edit-code.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,5 @@ Rules:
1313
10. If the user's request cannot be translated into code changes, respond only with the word NULL (without quotes or any formatting).
1414
11. Do not include any comments or explanations within the code unless specifically requested.
1515
12. Assume that any necessary dependencies or libraries are already imported or available.
16-
13. If the original code contains comments, preserve them unless the modification instructions affect those specific lines.
17-
14. When adding new functionality (e.g., logging), use appropriate conventions and best practices for the given language.
1816

19-
IMPORTANT: Your response must NEVER begin or end with triple backticks, single backticks, or any other formatting characters. The response should be pure, unformatted code that can be directly copied and pasted into a code editor without any modifications.
17+
IMPORTANT: Your response must NEVER begin or end with triple backticks, single backticks, or any other formatting characters.

0 commit comments

Comments
 (0)