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
|
||||
let this_max_context = getMaxContextSize();
|
||||
|
||||
if (extension_settings.chromadb.n_results !== 0) {
|
||||
await runGenerationInterceptors(coreChat, this_max_context);
|
||||
console.log(`Core/all messages: ${coreChat.length}/${chat.length}`);
|
||||
}
|
||||
// Always run the extension interceptors.
|
||||
await runGenerationInterceptors(coreChat, this_max_context);
|
||||
console.log(`Core/all messages: ${coreChat.length}/${chat.length}`);
|
||||
|
||||
let storyString = "";
|
||||
|
||||
|
Reference in New Issue
Block a user