mirror of
https://github.com/LLM-Red-Team/kimi-free-api.git
synced 2024-11-01 18:09:20 +08:00
打印上传消息日志
This commit is contained in:
parent
66067b4dd9
commit
1e09d807e6
@ -411,6 +411,8 @@ function messagesPrepare(messages: any[]) {
|
||||
}
|
||||
return content += `${message.role || 'user'}:${wrapUrlsToTags(message.content)}\n`;
|
||||
}, '');
|
||||
|
||||
logger.info("本次上传消息:" + { role: 'user', content });
|
||||
return [
|
||||
{ role: 'user', content }
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user