From dff71e64da36eeea10aa0a3c45e17629fc5cff2b Mon Sep 17 00:00:00 2001 From: Carl-Robert Linnupuu Date: Mon, 1 Jul 2024 02:17:56 +0300 Subject: [PATCH] chore: update edit-code feature system prompt --- src/main/resources/prompts/edit-code.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/resources/prompts/edit-code.txt b/src/main/resources/prompts/edit-code.txt index 62aa3fcc..6a8cfecd 100644 --- a/src/main/resources/prompts/edit-code.txt +++ b/src/main/resources/prompts/edit-code.txt @@ -13,7 +13,5 @@ Rules: 10. If the user's request cannot be translated into code changes, respond only with the word NULL (without quotes or any formatting). 11. Do not include any comments or explanations within the code unless specifically requested. 12. Assume that any necessary dependencies or libraries are already imported or available. -13. If the original code contains comments, preserve them unless the modification instructions affect those specific lines. -14. When adding new functionality (e.g., logging), use appropriate conventions and best practices for the given language. -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. \ No newline at end of file +IMPORTANT: Your response must NEVER begin or end with triple backticks, single backticks, or any other formatting characters. \ No newline at end of file