* Erato
erato
This commit is contained in:
Cohee
2024-09-24 03:10:31 +03:00
committed by GitHub
parent 1878602647
commit 182756fcb2
7 changed files with 59 additions and 3 deletions

View File

@ -4860,6 +4860,13 @@ export function getMaxContextSize(overrideResponseLength = null) {
console.log(`NovelAI subscription limit reached. Max context size is now ${this_max_context}`);
}
}
if (nai_settings.model_novel.includes('erato')) {
// subscriber limits coming soon
this_max_context = Math.min(max_context, 8192);
// Added special tokens and whatnot
this_max_context -= 1;
}
this_max_context = this_max_context - (overrideResponseLength || amount_gen);
}