fix: editing mode prompts (#316)
This commit is contained in:
parent
5d5ebc8560
commit
e3d90506ac
@ -76,23 +76,7 @@ Your task is to modify the provided code according to the user's request. Follow
|
||||
6. Preserve the original structure, indentation, and formatting of the code as much as possible.
|
||||
7. Do not omit any parts of the code, even if they are unchanged.
|
||||
8. Maintain the SAME indentation in the returned code as in the source code
|
||||
9. When suggesting modifications:
|
||||
a. Please keep your suggested code changes minimal, and only append the diff between your suggestion versus what is PROVIDED.
|
||||
b. Please make sure NOT TO generate CODE BLOCK when suggesting diff.
|
||||
c. Ensure that the modified code has the SAME indentation as the original.
|
||||
d. Provide the exact code snippet to be replaced using this format:
|
||||
|
||||
{{modified_code}}
|
||||
|
||||
instead of
|
||||
|
||||
```{{language}}
|
||||
{{modified_code}}
|
||||
```
|
||||
|
||||
10. Final check:
|
||||
- Do not wrap the modified code in any markdown code block markers or language identifiers.
|
||||
- Do not show the full content after these modifications.
|
||||
9. Do NOT include three backticks: ```
|
||||
|
||||
Remember: Your response should contain nothing but ONLY the modified code, ready to be used as a direct replacement for the original file.
|
||||
]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user