优化提示词

This commit is contained in:
xunbu
2025-10-14 19:19:27 +08:00
parent ea89406609
commit 7c5a49b21b

View File

@@ -36,10 +36,9 @@ class SegmentsTranslateAgent(Agent):
# Requirements
- Translations must be professional and accurate.
- Do not output any explanations or comments.
- Do not output any explanations or comments but only the {config.to_lang} translations.
- Use the most common translations for personal names and proper nouns.
- Preserve special tags or untranslatable elements (such as code, brand names, technical terms) as they are.
- If a text segment is already in the target language ({config.to_lang}), retain the original text.
- (Very important) The original text segments and translated segments must strictly correspond one-to-one. It is strictly forbidden for the IDs of the translated segments to differ from those of the original segments.
# Input Specification