From 56966c411b010125f41e8b3730dd0b7dbd9a4f33 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 13 Feb 2024 01:46:58 -0800 Subject: [PATCH] fix: keep alive value should be string --- .../components/chat/Settings/Advanced.svelte | 47 +++++++++++++------ 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/src/lib/components/chat/Settings/Advanced.svelte b/src/lib/components/chat/Settings/Advanced.svelte index 58897bcd..baa3165a 100644 --- a/src/lib/components/chat/Settings/Advanced.svelte +++ b/src/lib/components/chat/Settings/Advanced.svelte @@ -7,7 +7,8 @@ // Advanced let requestFormat = ''; - let keepAlive = ''; + let keepAlive = null; + let options = { // Advanced seed: 0, @@ -59,6 +60,37 @@
+
+
+
Keep Alive
+ + +
+ + {#if keepAlive !== null} +
+ +
+ {/if} +
+
Request Mode
@@ -87,19 +119,6 @@
-
-
Keep Alive
-
- -
-