Merge branch 'main' into feat/rag-2

This commit is contained in:
twwu
2025-08-06 14:23:51 +08:00
89 changed files with 5775 additions and 364 deletions

View File

@ -117,7 +117,7 @@ function unicodeToChar(text: string) {
if (!text)
return ''
return text.replace(/\\u[0-9a-f]{4}/g, (_match, p1) => {
return text.replace(/\\u([0-9a-f]{4})/g, (_match, p1) => {
return String.fromCharCode(Number.parseInt(p1, 16))
})
}