diff --git a/docutranslate/agents/segments_agent.py b/docutranslate/agents/segments_agent.py index fb0c243..bed7312 100644 --- a/docutranslate/agents/segments_agent.py +++ b/docutranslate/agents/segments_agent.py @@ -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