mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
@ -1268,6 +1268,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
|
|||||||
|
|
||||||
if (settings.type === KOBOLDCPP) {
|
if (settings.type === KOBOLDCPP) {
|
||||||
params.grammar = settings.grammar_string;
|
params.grammar = settings.grammar_string;
|
||||||
|
params.trim_stop = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.type === HUGGINGFACE) {
|
if (settings.type === HUGGINGFACE) {
|
||||||
|
Reference in New Issue
Block a user