diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte
index e6f75c7f..31da70fe 100644
--- a/src/lib/components/chat/SettingsModal.svelte
+++ b/src/lib/components/chat/SettingsModal.svelte
@@ -26,10 +26,11 @@
// Advanced
let requestFormat = '';
let seed = 0;
- let temperature = 0.8;
- let repeat_penalty = 1.1;
- let top_k = 40;
- let top_p = 0.9;
+ let temperature = '';
+ let repeat_penalty = '';
+ let top_k = '';
+ let top_p = '';
+ let num_ctx = '';
// Models
let modelTag = '';
@@ -227,10 +228,11 @@
requestFormat = settings.requestFormat ?? '';
seed = settings.seed ?? 0;
- temperature = settings.temperature ?? 0.8;
- repeat_penalty = settings.repeat_penalty ?? 1.1;
- top_k = settings.top_k ?? 40;
- top_p = settings.top_p ?? 0.9;
+ temperature = settings.temperature ?? '';
+ repeat_penalty = settings.repeat_penalty ?? '';
+ top_k = settings.top_k ?? '';
+ top_p = settings.top_p ?? '';
+ num_ctx = settings.num_ctx ?? '';
titleAutoGenerate = settings.titleAutoGenerate ?? true;
speechAutoSend = settings.speechAutoSend ?? false;
@@ -612,6 +614,234 @@
{:else if selectedTab === 'advanced'}
+
+
+
+
+
Temperature
+
+
+
+
+ {#if temperature !== ''}
+
+ {/if}
+
+
+
+
+
Repeat Penalty
+
+
+
+
+ {#if repeat_penalty !== ''}
+
+ {/if}
+
+
+
+
+
Top K
+
+
+
+
+ {#if top_k !== ''}
+
+ {/if}
+
+
+
+
+
Top P
+
+
+
+
+ {#if top_p !== ''}
+
+ {/if}
+
+
+
+
+
Context Length
+
+
+
+
+ {#if num_ctx !== ''}
+
+ {/if}
+
+
+
+
Request Mode
@@ -640,110 +870,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-