Add Erato preamble token

c4462cc8bb2f4898a250dfa6d29d526668d073b6

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +2 -2Ignore whitespace
public/script.js+1 -1
@@ -4863,7 +4863,7 @@ export function getMaxContextSize(overrideResponseLength = null) {
48634863 this_max_context = Math.min(max_context, 8192);
48644864
48654865 // Added special tokens and whatnot
48664866 this_max_context -= 110;
48674867 }
48684868
48694869 this_max_context = this_max_context - (overrideResponseLength || amount_gen);
public/scripts/nai-settings.js+1 -1
@@ -538,7 +538,7 @@ export function getNovelGenerationData(finalPrompt, settings, maxLength, isImper
538538
539539
540540 if (isErato) {
541541 finalPrompt = '<|startoftext|><|reserved_special_token81|>' + finalPrompt;
542542 }
543543
544544 const adjustedMaxLength = (isKayra || isErato) ? getKayraMaxResponseTokens() : maximum_output_length;