diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte
index e6f75c7f2..4e3d4099d 100644
--- a/src/lib/components/chat/SettingsModal.svelte
+++ b/src/lib/components/chat/SettingsModal.svelte
@@ -30,6 +30,7 @@
let repeat_penalty = 1.1;
let top_k = 40;
let top_p = 0.9;
+ let num_ctx = 2048;
// Models
let modelTag = '';
@@ -231,6 +232,7 @@
repeat_penalty = settings.repeat_penalty ?? 1.1;
top_k = settings.top_k ?? 40;
top_p = settings.top_p ?? 0.9;
+ num_ctx = settings.num_ctx ?? 2048;
titleAutoGenerate = settings.titleAutoGenerate ?? true;
speechAutoSend = settings.speechAutoSend ?? false;
@@ -732,8 +734,24 @@
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
/>
+
+
+
+
-