mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Unify cfgValues parsing between ooba/Novel
This commit is contained in:
@ -234,10 +234,6 @@ async function generateTextGenWithStreaming(generate_data, signal) {
|
||||
}
|
||||
|
||||
export function getTextGenGenerationData(finalPrompt, this_amount_gen, isImpersonate, cfgValues) {
|
||||
if (cfgValues?.guidanceScale?.value === 1) {
|
||||
cfgValues = null;
|
||||
}
|
||||
|
||||
return {
|
||||
'prompt': finalPrompt,
|
||||
'max_new_tokens': this_amount_gen,
|
||||
|
Reference in New Issue
Block a user