mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge branch 'release' into staging
This commit is contained in:
@ -1340,6 +1340,9 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
|
|||||||
'dry_sequence_breakers': sequenceBreakers,
|
'dry_sequence_breakers': sequenceBreakers,
|
||||||
};
|
};
|
||||||
params = Object.assign(params, llamaCppParams);
|
params = Object.assign(params, llamaCppParams);
|
||||||
|
if (!Array.isArray(sequenceBreakers) || sequenceBreakers.length === 0) {
|
||||||
|
delete params.dry_sequence_breakers;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
eventSource.emitAndWait(event_types.TEXT_COMPLETION_SETTINGS_READY, params);
|
eventSource.emitAndWait(event_types.TEXT_COMPLETION_SETTINGS_READY, params);
|
||||||
|
Reference in New Issue
Block a user