Timothy Jaeryang Baek 1 mēnesi atpakaļ
vecāks
revīzija
57d1527ce1

+ 1 - 1
src/lib/components/chat/ModelSelector/Selector.svelte

@@ -600,7 +600,7 @@
 									<div
 									<div
 										class="flex gap-0.5 self-center items-center h-full translate-y-[0.5px] overflow-x-auto scrollbar-none"
 										class="flex gap-0.5 self-center items-center h-full translate-y-[0.5px] overflow-x-auto scrollbar-none"
 									>
 									>
-										{#each item.model?.tags as tag}
+										{#each item.model?.tags.sort((a, b) => a.name.localeCompare(b.name)) as tag}
 											<Tooltip content={tag.name} className="flex-shrink-0">
 											<Tooltip content={tag.name} className="flex-shrink-0">
 												<div
 												<div
 													class=" text-xs font-bold px-1 rounded-sm uppercase bg-gray-500/20 text-gray-700 dark:text-gray-200"
 													class=" text-xs font-bold px-1 rounded-sm uppercase bg-gray-500/20 text-gray-700 dark:text-gray-200"