mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 19:07:40 +01:00
Properly use vector insert setting
This commit is contained in:
parent
16833fc238
commit
7b8ac8f4c4
@ -327,7 +327,7 @@ async function rearrangeChat(chat) {
|
||||
}
|
||||
|
||||
// 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 queriedMessages = [];
|
||||
const insertedHashes = new Set();
|
||||
|
Loading…
x
Reference in New Issue
Block a user