Fix issue with adding characters twice

This commit is contained in:
DazedAnon 2024-08-27 11:59:31 -05:00
parent d3b8d7030a
commit 37dd41ab38

View file

@ -2160,7 +2160,7 @@ Output ONLY the {LANGUAGE} translation in the following format: `Translation: <{
def translateText(characters, system, user, history, penalty, format):
# Prompt
msg = [{"role": "system", "content": system + characters}]
msg = [{"role": "system", "content": system}]
# Characters
msg.append({"role": "system", "content": characters})