Add assistant postfix to converted ChatML => text completion prompts.

This commit is contained in:
Cohee 2023-09-20 21:50:14 +03:00
parent c9783640c0
commit e3f760a9dd
1 changed files with 1 additions and 1 deletions

View File

@ -2699,7 +2699,7 @@ function convertChatMLPrompt(messages) {
messageStrings.push(m.role + ": " + m.content);
}
});
return messageStrings.join("\n");
return messageStrings.join("\n") + '\nassistant:';
}
async function sendScaleRequest(request, response) {