diff --git a/src/api/controllers/chat.ts b/src/api/controllers/chat.ts index c06c461..bc53064 100644 --- a/src/api/controllers/chat.ts +++ b/src/api/controllers/chat.ts @@ -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 } ]