From e1361e68ec9b1bfd3a1642aed0d46cca95e0a110 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 22 Oct 2023 15:37:06 -0700 Subject: [PATCH] Update SettingsModal.svelte --- src/lib/components/chat/SettingsModal.svelte | 136 ++++++++++++++----- 1 file changed, 104 insertions(+), 32 deletions(-) diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte index 3ec47ae9..8ab0e837 100644 --- a/src/lib/components/chat/SettingsModal.svelte +++ b/src/lib/components/chat/SettingsModal.svelte @@ -6,6 +6,8 @@ let system = ''; let temperature = 0.8; + let selectedMenu = 'general'; + $: if (show) { let settings = JSON.parse(localStorage.getItem('settings') ?? '{}'); system = settings.system ?? ''; @@ -37,43 +39,113 @@
-
-
-
System Prompt
-