diff --git a/index.html b/index.html index a5400dd..cad2d3e 100644 --- a/index.html +++ b/index.html @@ -5846,6 +5846,7 @@ } document.getElementById("setgrammar").disabled = !is_using_kcpp_with_grammar(); + document.getElementById("grammar_retain_state").disabled = document.getElementById("setgrammar").disabled; if(custom_kobold_endpoint!="") { @@ -7029,6 +7030,7 @@ if(localsettings.grammar && localsettings.grammar!="") { submit_payload.params.grammar = localsettings.grammar; + submit_payload.params.grammar_retain_state = document.getElementById("grammar_retain_state").checked; } } @@ -10226,6 +10228,8 @@
Additional Configs ?Grammar Sampling (KCPP) - Allows you to constrain output to fit specific structures.
+
Retain
+