Skip to content

Commit

Permalink
chore: update edit-code feature system prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
carlrobertoh committed Jun 30, 2024
1 parent ae63156 commit a94829a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/resources/prompts/edit-code.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
IMPORTANT: Your response must NEVER begin or end with triple backticks, single backticks, or any other formatting characters.

0 comments on commit a94829a

Please sign in to comment.