From 268497f963dcedec7060512e1988ee4b7172a2cc Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 1 Feb 2024 12:36:21 -0800 Subject: [PATCH] feat: remove model selection limit --- src/lib/components/chat/ModelSelector.svelte | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/components/chat/ModelSelector.svelte b/src/lib/components/chat/ModelSelector.svelte index c0fed8ea..81304cb4 100644 --- a/src/lib/components/chat/ModelSelector.svelte +++ b/src/lib/components/chat/ModelSelector.svelte @@ -58,11 +58,9 @@ class=" self-center {selectedModelIdx === 0 ? 'mr-3' : 'mr-7'} disabled:text-gray-600 disabled:hover:text-gray-600" - disabled={selectedModels.length === 3 || disabled} + {disabled} on:click={() => { - if (selectedModels.length < 3) { - selectedModels = [...selectedModels, '']; - } + selectedModels = [...selectedModels, '']; }} >