mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
llama.cpp Enable dry w/ array convert
The new PR that was merged needs an array instead of a str https://github.com/ggerganov/llama.cpp/pull/9702
This commit is contained in:
@ -1312,6 +1312,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
|
||||
// Conflicts with ooba's grammar_string
|
||||
'grammar': settings.grammar_string,
|
||||
'cache_prompt': true,
|
||||
'dry_sequence_breakers': JSON.parse(params.dry_sequence_breakers),
|
||||
};
|
||||
params = Object.assign(params, llamaCppParams);
|
||||
}
|
||||
|
Reference in New Issue
Block a user