Browse Source

chore: format

Timothy J. Baek 10 months ago
parent
commit
bc5e39d31b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/lib/components/chat/MessageInput/Models.svelte

+ 3 - 1
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) {