Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/kwaroran/RisuAI
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaroran committed Dec 24, 2024
2 parents 0587f51 + 98ca173 commit 7d9649b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/process/index.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{
}
}
let thoughts:string[] = []
formatedChat = formatedChat.replace(/<Thoughts>(.+?)<\/Thoughts>/gm, (match, p1) => {
formatedChat = formatedChat.replace(/<Thoughts>([\s\S]+?)<\/Thoughts>/g, (match, p1) => {
thoughts.push(p1)
return ''
})
Expand Down

0 comments on commit 7d9649b

Please sign in to comment.