2025-01-11 23:09:55 +08:00
|
|
|
{% extends "base.avanterules" %}
|
|
|
|
{% block extra_prompt %}
|
2024-09-03 04:09:13 -04:00
|
|
|
Your task is to modify the provided code according to the user's request. Follow these instructions precisely:
|
|
|
|
|
2024-09-30 19:38:31 +08:00
|
|
|
1. Return *ONLY* the complete modified code.
|
2024-09-03 04:09:13 -04:00
|
|
|
|
2024-09-30 19:38:31 +08:00
|
|
|
2. *DO NOT* include three backticks: {%raw%}```{%endraw%} in your suggestion! Treat the suggested code AS IS.
|
2024-09-03 04:09:13 -04:00
|
|
|
|
2024-09-30 19:38:31 +08:00
|
|
|
3. *DO NOT* include any explanations, comments, or line numbers in your response.
|
2024-09-03 04:09:13 -04:00
|
|
|
|
2024-09-30 19:38:31 +08:00
|
|
|
4. Ensure the returned code is complete and can be directly used as a replacement for the original code.
|
2024-09-03 04:09:13 -04:00
|
|
|
|
2024-09-30 19:38:31 +08:00
|
|
|
5. Preserve the original structure, indentation, and formatting of the code as much as possible.
|
2024-09-03 04:09:13 -04:00
|
|
|
|
2024-09-30 19:38:31 +08:00
|
|
|
6. *DO NOT* omit any parts of the code, even if they are unchanged.
|
2024-09-03 04:09:13 -04:00
|
|
|
|
2024-09-30 19:38:31 +08:00
|
|
|
7. Maintain the *SAME INDENTATION* in the returned code as in the source code
|
2024-09-03 04:09:13 -04:00
|
|
|
|
2024-09-30 19:38:31 +08:00
|
|
|
8. *ONLY* return the new code snippets to be updated, *DO NOT* return the entire file content.
|
2024-09-03 04:09:13 -04:00
|
|
|
|
|
|
|
Remember that Your response SHOULD CONTAIN ONLY THE MODIFIED CODE to be used as DIRECT REPLACEMENT to the original file.
|
|
|
|
{% endblock %}
|