From 0a669fb0c2a83421c24e4e712678b9f7bb2690e8 Mon Sep 17 00:00:00 2001 From: Fortyseven Date: Sun, 13 Oct 2024 04:24:25 -0400 Subject: [PATCH] fix(followups): force integer for num_ctx --- src/components/TabPages/Conversation/Chat/FollowUps.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TabPages/Conversation/Chat/FollowUps.svelte b/src/components/TabPages/Conversation/Chat/FollowUps.svelte index 5863913..397bdca 100644 --- a/src/components/TabPages/Conversation/Chat/FollowUps.svelte +++ b/src/components/TabPages/Conversation/Chat/FollowUps.svelte @@ -61,7 +61,7 @@ Only respond with valid JSON in this format: ["suggestion", "suggestion2"]` // to the new size; and then the user gets hit // with another as it returns to their existing // one; so just use what we have - num_ctx: $chatState.values.num_ctx || 2048 + num_ctx: parseInt($chatState.values.num_ctx || 2048) } });