mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove special handling of nsigma for llama.cpp
* 0 now changed to disable/no-op upstream
This commit is contained in:
@@ -1335,8 +1335,8 @@ export async function getTextGenGenerationData(finalPrompt, maxTokens, isImperso
|
||||
'sampler_order': settings.type === textgen_types.KOBOLDCPP ? settings.sampler_order : undefined,
|
||||
'xtc_threshold': settings.xtc_threshold,
|
||||
'xtc_probability': settings.xtc_probability,
|
||||
'nsigma': [LLAMACPP].includes(settings.type) && settings.nsigma === 0 ? -1 : settings.nsigma,
|
||||
'top_n_sigma': [LLAMACPP].includes(settings.type) && settings.nsigma === 0 ? -1 : settings.nsigma,
|
||||
'nsigma': settings.nsigma,
|
||||
'top_n_sigma': settings.nsigma,
|
||||
'min_keep': settings.min_keep,
|
||||
};
|
||||
const nonAphroditeParams = {
|
||||
|
Reference in New Issue
Block a user