mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Properly use vector insert setting
This commit is contained in:
@ -327,7 +327,7 @@ async function rearrangeChat(chat) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get the most relevant messages, excluding the last few
|
// Get the most relevant messages, excluding the last few
|
||||||
const queryResults = await queryCollection(chatId, queryText, settings.query);
|
const queryResults = await queryCollection(chatId, queryText, settings.insert);
|
||||||
const queryHashes = queryResults.hashes.filter(onlyUnique);
|
const queryHashes = queryResults.hashes.filter(onlyUnique);
|
||||||
const queriedMessages = [];
|
const queriedMessages = [];
|
||||||
const insertedHashes = new Set();
|
const insertedHashes = new Set();
|
||||||
|
Reference in New Issue
Block a user