[feat] sendname

This commit is contained in:
kwaroran
2023-12-24 22:08:15 +09:00
parent 036fc00f7b
commit 57081a3c3c
2 changed files with 2 additions and 2 deletions

View File

@@ -569,7 +569,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
let attr:string[] = []
if(nowChatroom.type === 'group'){
if(nowChatroom.type === 'group' || (usingPromptTemplate && db.proomptSettings.sendName)){
formedChat = name + ': ' + formedChat
attr.push('nameAdded')
}