diff --git a/koboldai_settings.py b/koboldai_settings.py index 3a4adc67..dbb909fc 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -642,7 +642,7 @@ class model_settings(settings): 'koboldai_vars', 'welcome', 'welcome_default', 'simple_randomness', 'simple_creativity', 'simple_repitition', 'badwordsids', 'uid_presets'] settings_name = "model" - default_settings = {"rep_pen" : 1.1, "rep_pen_slope": 0.7, "rep_pen_range": 1024, "temp": 0.5, "top_p": 0.9, "top_k": 0.0, "top_a": 0.0, "tfs": 1.0, "typical": 1.0, + default_settings = {"rep_pen" : 1.1, "rep_pen_slope": 0.7, "rep_pen_range": 1024, "temp": 0.5, "top_p": 0.9, "top_k": 0, "top_a": 0.0, "tfs": 1.0, "typical": 1.0, "sampler_order": [6,0,1,2,3,4,5]} def __init__(self, socketio, koboldai_vars): self.socketio = socketio diff --git a/static/koboldai.js b/static/koboldai.js index a61a22a9..748e0f95 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -6161,6 +6161,7 @@ function initalizeTooltips() { (function() { document.addEventListener("keydown", function(event) { for (const shortcut of shortcuts) { + if (!(event.ctrlKey || event.altKey)) continue; if (event.ctrlKey && shortcut.mod !== "ctrl") continue; if (event.altKey && shortcut.mod !== "alt") continue;