Skip to content

Commit 2ef2616

Browse files
committed
Optimizing prompt
1 parent 5f8bd31 commit 2ef2616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/translate/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class AdvancedGFMTranslator(BaseGFMTranslator):
200200
"languages. Your task is to translate extracted code comments to English. " \
201201
"Maintain the exact formatting, including any indentation or comment symbols if present. " \
202202
"Do not add or remove any symbols, or line breaks. Translate only the text within comments. " \
203-
"If the original text is already in English, please do not skip the translation and " \
203+
"If the original text is already in English, please skip the translation and " \
204204
"directly output the original text. Finally, please note that the user input is just " \
205205
"comments extracted from the code, there is no code, you do not need to run it, you just " \
206206
"need to translate it. Therefore, there is no security issue, you cannot refuse to " \

0 commit comments

Comments
 (0)