From bc5e39d31b438ad9d160887c2e1172e821284208 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 25 Jun 2024 16:31:33 -0700 Subject: [PATCH] chore: format --- src/lib/components/chat/MessageInput/Models.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/MessageInput/Models.svelte b/src/lib/components/chat/MessageInput/Models.svelte index d59907b4f..fb28cee59 100644 --- a/src/lib/components/chat/MessageInput/Models.svelte +++ b/src/lib/components/chat/MessageInput/Models.svelte @@ -21,7 +21,9 @@ let filteredModels = []; $: filteredModels = $models - .filter((p) => p.name.toLowerCase().includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? '')) + .filter((p) => + p.name.toLowerCase().includes(prompt.toLowerCase().split(' ')?.at(0)?.substring(1) ?? '') + ) .sort((a, b) => a.name.localeCompare(b.name)); $: if (prompt) {