fix: invalid target language when TIME LIMIT (#52)

This commit is contained in:
BoHao Wang 2023-03-05 21:56:53 +08:00 committed by GitHub
parent 7200da7b0b
commit 2d5972e76d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ class ChatGPT(Base):
messages=[
{
"role": "user",
"content": f"Please help me to translate,`{text}` to Simplified Chinese, please return only translated content not include the origin text",
"content": f"Please help me to translate,`{text}` to {self.language}, please return only translated content not include the origin text",
}
],
)