Refactor /search to use per-line async parsing (#5085)

* Refactor /search to use per-line async parsing
Supersedes #5047

* Use named type

* Cache query fragments, add file name match

* Skip invalid chat files in search

* Remove extensions from /search results

* Use file_id when appropriate

* Revert "Use file_id when appropriate"

This reverts commit aaa0274b53da6a677183b6f923163053cfd6d569.

* Clean-up file extension handling

* Move extension append down for non-group
This commit is contained in:
Cohee
2026-02-02 01:44:15 +02:00
committed by GitHub
parent cf587bc766
commit 3f8acaad4e
3 changed files with 74 additions and 80 deletions
+1 -1
View File
@@ -656,7 +656,7 @@ export function initBookmarks() {
const fileName = $(this).hasClass('mes_bookmark')
? $(this).closest('.mes').attr('bookmark_link')
: $(this).attr('file_name').replace('.jsonl', '');
: $(this).attr('file_name');
if (!fileName) {
return;