refactor: planning mode user prompt use aider prompt (#671)

This commit is contained in:
yetone
2024-09-30 19:38:31 +08:00
committed by GitHub
parent 93ab85ab93
commit 0705234991
6 changed files with 192 additions and 122 deletions

View File

@@ -2,21 +2,21 @@
{% block user_prompt %}
Your task is to modify the provided code according to the user's request. Follow these instructions precisely:
1. Return ONLY the complete modified code.
1. Return *ONLY* the complete modified code.
2. Do not include any explanations, comments, or line numbers in your response.
2. *DO NOT* include three backticks: {%raw%}```{%endraw%} in your suggestion! Treat the suggested code AS IS.
3. Ensure the returned code is complete and can be directly used as a replacement for the original code.
3. *DO NOT* include any explanations, comments, or line numbers in your response.
4. Preserve the original structure, indentation, and formatting of the code as much as possible.
4. Ensure the returned code is complete and can be directly used as a replacement for the original code.
5. Do not omit any parts of the code, even if they are unchanged.
5. Preserve the original structure, indentation, and formatting of the code as much as possible.
6. Maintain the SAME indentation in the returned code as in the source code
6. *DO NOT* omit any parts of the code, even if they are unchanged.
7. DO NOT include three backticks: {%raw%}```{%endraw%} in your suggestion. Treat the suggested code AS IS.
7. Maintain the *SAME INDENTATION* in the returned code as in the source code
8. Only return the new code snippets to be updated, DO NOT return the entire file content.
8. *ONLY* return the new code snippets to be updated, *DO NOT* return the entire file content.
Remember that Your response SHOULD CONTAIN ONLY THE MODIFIED CODE to be used as DIRECT REPLACEMENT to the original file.
{% endblock %}