Add custom chain of thought feature and max thought tag depth setting

This commit is contained in:
kwaroran
2024-01-08 09:03:12 +09:00
parent ecbbc8e85c
commit aaa5843c51
7 changed files with 45 additions and 14 deletions

View File

@@ -367,10 +367,13 @@ export function setDatabase(data:Database){
postEndInnerFormat: '',
sendChatAsSystem: false,
sendName: false,
utilOverride: false
utilOverride: false,
customChainOfThought: false,
maxThoughtTagDepth: -1
}
data.keiServerURL ??= ''
data.top_k ??= 0
data.proomptSettings.maxThoughtTagDepth ??= -1
changeLanguage(data.language)
DataBase.set(data)