| @@ -783,7 +783,7 @@ router.post('/search', validateAvatarUrlMiddleware, function (request, response) | ||
| 783 | 783 | continue; |
| 784 | 784 | } |
| 785 | 785 | |
| 786 | 786 | // Search through chatstitle and messages of the chat |
| 787 | 787 | const fragments = query.trim().toLowerCase().split(/\s+/).filter(x => x); |
| 788 | 788 | const text = [chatFile.path.split(/[\\\/]/).pop().replace(/.jsonl$/, ''), |
| 789 | 789 | ...messages.map(message => message?.mes)].join("\n").toLowerCase(); |