mirror of
https://github.com/LLM-Red-Team/glm-free-api.git
synced 2024-12-23 01:19:22 +08:00
去除调试
This commit is contained in:
parent
613f204f1a
commit
53ad65c2be
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user