Merge branch 'main' of https://github.com/kwaroran/RisuAI
This commit is contained in:
@@ -753,7 +753,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
let thoughts:string[] = []
|
let thoughts:string[] = []
|
||||||
formatedChat = formatedChat.replace(/<Thoughts>(.+?)<\/Thoughts>/gm, (match, p1) => {
|
formatedChat = formatedChat.replace(/<Thoughts>([\s\S]+?)<\/Thoughts>/g, (match, p1) => {
|
||||||
thoughts.push(p1)
|
thoughts.push(p1)
|
||||||
return ''
|
return ''
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user