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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user