mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Always run extension interceptors.
This commit is contained in:
@@ -2198,10 +2198,9 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
|||||||
// Determine token limit
|
// Determine token limit
|
||||||
let this_max_context = getMaxContextSize();
|
let this_max_context = getMaxContextSize();
|
||||||
|
|
||||||
if (extension_settings.chromadb.n_results !== 0) {
|
// Always run the extension interceptors.
|
||||||
await runGenerationInterceptors(coreChat, this_max_context);
|
await runGenerationInterceptors(coreChat, this_max_context);
|
||||||
console.log(`Core/all messages: ${coreChat.length}/${chat.length}`);
|
console.log(`Core/all messages: ${coreChat.length}/${chat.length}`);
|
||||||
}
|
|
||||||
|
|
||||||
let storyString = "";
|
let storyString = "";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user