diff --git a/LunaTranslator/LunaTranslator/translator/dev_llm_common.py b/LunaTranslator/LunaTranslator/translator/dev_llm_common.py index d84036a8..95843447 100644 --- a/LunaTranslator/LunaTranslator/translator/dev_llm_common.py +++ b/LunaTranslator/LunaTranslator/translator/dev_llm_common.py @@ -80,6 +80,7 @@ class commonllmdev(basetransdev): if thistext.startswith(curr): yield thistext[len(curr) :] else: + yield '\0' yield thistext curr = thistext else: