feat: add maxThoughtTagDepth property to preset configuration

This commit is contained in:
Kwaroran
2024-12-27 15:58:12 +09:00
parent cc223dfefa
commit 828f612ed6

View File

@@ -1566,8 +1566,9 @@ export function setPreset(db:Database, newPres: botPreset){
postEndInnerFormat: '',
sendChatAsSystem: false,
sendName: false,
utilOverride: false
utilOverride: false,
}
db.promptSettings.maxThoughtTagDepth ??= -1
db.repetition_penalty = newPres.repetition_penalty
db.min_p = newPres.min_p
db.top_a = newPres.top_a