mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-22 23:18:27 +01:00
parent
980ebb2fbc
commit
7ce2841588
@ -1268,6 +1268,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
|
||||
|
||||
if (settings.type === KOBOLDCPP) {
|
||||
params.grammar = settings.grammar_string;
|
||||
params.trim_stop = true;
|
||||
}
|
||||
|
||||
if (settings.type === HUGGINGFACE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user