You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let settingInput = document.createElement("input")
25745
+
settingInput.type = "range"
25746
+
settingInput.min = min
25747
+
settingInput.max = max
25748
+
settingInput.step = step
25749
+
settingInput.value = value
25750
+
settingInput.title = labelTitle
25751
+
settingInput.id = inputElemId
25752
+
settingInput.style = "margin:0px 0px 0px auto;"
25753
+
25754
+
settingInputNumeric.oninput = () => {
25755
+
settingInput.value = settingInputNumeric.value;
25756
+
}
25757
+
25758
+
settingInput.oninput = () => {
25759
+
settingInputNumeric.value = settingInput.value;
25760
+
}
25761
+
25762
+
let inputDiv = document.createElement("div")
25763
+
inputDiv.append(settingInput)
25764
+
25765
+
let minMaxDiv = document.createElement("div")
25766
+
minMaxDiv.classList.add("settingminmax")
25767
+
let minDiv = document.createElement("div")
25768
+
minDiv.classList.add("justifyleft")
25769
+
minDiv.innerText = min
25770
+
let maxDiv = document.createElement("div")
25771
+
maxDiv.classList.add("justifyright")
25772
+
maxDiv.innerText = max
25773
+
minMaxDiv.append(minDiv)
25774
+
minMaxDiv.append(maxDiv)
25775
+
25776
+
let settingElem = document.createElement("div")
25777
+
settingElem.style.width = "100%"
25778
+
settingElem.classList.add("settingitem")
25779
+
settingElem.append(settingLabelElem)
25780
+
settingElem.append(inputDiv)
25781
+
settingElem.append(minMaxDiv)
25782
+
return settingElem
25783
+
}
25708
25784
let lastSettingContainer = document.querySelector("#settingsmenuformat > .settingitem:last-child")
25709
25785
25710
25786
let settingLabelElem = createSettingElemBool("agentBehaviour", "Agent behaviour (experimental)", "Allows the AI to use multiple generations and certain tools to see if it can improve results. This can include web search (if enabled), dice rolling, and formula evaluation. This mode requires instruct start and end tags for all roles. Image and TTS only is enabled for local KCPP users.")
@@ -25719,6 +25795,9 @@ let checkFinalThoughtsPrompt = `Action: {"command":{"name":"thought","args":{"me
settingLabelElem = createSettingElemRange("agentCOTMax", "Maximum agent actions", "Defines the maximum number of actions the agent can take without a user input", 1, 20, 1, 5)
0 commit comments