去除调试

This commit is contained in:
Vinlic 2024-03-17 16:58:37 +08:00
parent 613f204f1a
commit 53ad65c2be

View File

@ -316,7 +316,6 @@ function messagesPrepare(messages: any[], refs: any[]) {
const role = message.role.replace('user', '我').replace('assistant', '你') || '我'; const role = message.role.replace('user', '我').replace('assistant', '你') || '我';
return content += `${role}:${message.content}\n你:`; return content += `${role}:${message.content}\n你:`;
}, ''); }, '');
console.log(content)
return [ return [
{ {
role: 'user', role: 'user',