From c4f82309dc6283b8737975f5d3cc5019e19eb0f3 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 25 Nov 2024 16:11:49 -0800 Subject: [PATCH] fix: min_p save issue --- src/lib/components/chat/Settings/General.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/chat/Settings/General.svelte b/src/lib/components/chat/Settings/General.svelte index 9c1ccb7f7..694648206 100644 --- a/src/lib/components/chat/Settings/General.svelte +++ b/src/lib/components/chat/Settings/General.svelte @@ -55,6 +55,7 @@ mirostat_tau: null, top_k: null, top_p: null, + min_p: null, stop: null, tfs_z: null, num_ctx: null, @@ -340,6 +341,7 @@ mirostat_tau: params.mirostat_tau !== null ? params.mirostat_tau : undefined, top_k: params.top_k !== null ? params.top_k : undefined, top_p: params.top_p !== null ? params.top_p : undefined, + min_p: params.min_p !== null ? params.min_p : undefined, tfs_z: params.tfs_z !== null ? params.tfs_z : undefined, num_ctx: params.num_ctx !== null ? params.num_ctx : undefined, num_batch: params.num_batch !== null ? params.num_batch : undefined,