mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
allow Chroma slider to go to 0 to disable
This commit is contained in:
@@ -1862,8 +1862,10 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
||||
coreChat.pop();
|
||||
}
|
||||
|
||||
await runGenerationInterceptors(coreChat);
|
||||
console.log(`Core/all messages: ${coreChat.length}/${chat.length}`);
|
||||
if (extension_settings.chromadb.n_results !== 0) {
|
||||
await runGenerationInterceptors(coreChat);
|
||||
console.log(`Core/all messages: ${coreChat.length}/${chat.length}`);
|
||||
}
|
||||
|
||||
if (main_api === 'openai') {
|
||||
message_already_generated = ''; // OpenAI doesn't have multigen
|
||||
|
Reference in New Issue
Block a user