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
|
||||
|
@@ -15,7 +15,7 @@ const defaultSettings = {
|
||||
keep_context_step: 1,
|
||||
|
||||
n_results: 20,
|
||||
n_results_min: 1,
|
||||
n_results_min: 0,
|
||||
n_results_max: 100,
|
||||
n_results_step: 1,
|
||||
|
||||
|
Reference in New Issue
Block a user