mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
merge latest pr from main
This commit is contained in:
parent
f73936e5f4
commit
bff33c79b3
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ router.get('/', async function (req, res) {
|
|||
};
|
||||
});
|
||||
const titles = (await Conversation.meiliSearch(q)).hits;
|
||||
console.log('messages', messages.length, 'titles', titles.length);
|
||||
console.log('message hits:', messages.length, 'convo hits:', titles.length);
|
||||
const sortedHits = reduceHits(messages, titles);
|
||||
const result = await getConvosQueried(user, sortedHits, pageNumber);
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ router.get('/', async function (req, res) {
|
|||
}
|
||||
delete result.convoMap;
|
||||
// for debugging
|
||||
console.log(result, messages.length);
|
||||
// console.log(result, messages.length);
|
||||
res.status(200).send(result);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue