diff --git a/src/translation_agent/utils.py b/src/translation_agent/utils.py index a7d12c9..0a0ddf7 100755 --- a/src/translation_agent/utils.py +++ b/src/translation_agent/utils.py @@ -169,13 +169,7 @@ def one_chunk_reflect_on_translation( Each suggestion should address one specific part of the translation. Output only the suggestions and nothing else.""" - prompt = reflection_prompt.format( - source_lang=source_lang, - target_lang=target_lang, - source_text=source_text, - translation_1=translation_1, - ) - reflection = get_completion(prompt, system_message=system_message) + reflection = get_completion(reflection_prompt, system_message=system_message) return reflection