Timothy J. Baek 9 miesięcy temu
rodzic
commit
af9e0cc33a

+ 2 - 2
src/lib/components/chat/MessageInput/Models.svelte

@@ -149,7 +149,7 @@
 							<button
 								class="px-3 py-1.5 rounded-xl w-full text-left {modelIdx === selectedIdx
 									? 'bg-gray-50 dark:bg-gray-850 selected-command-option-button'
-									: ''} {model?.info?.meta?.hidden ? 'hidden' : ''}"
+									: ''}"
 								type="button"
 								on:click={() => {
 									confirmSelect(model);
@@ -162,7 +162,7 @@
 								<div class="flex font-medium text-black dark:text-gray-100 line-clamp-1">
 									<img
 										src={model?.info?.meta?.profile_image_url ?? '/static/favicon.png'}
-										alt={model.name}
+										alt={model?.name ?? model.id}
 										class="rounded-full size-6 items-center mr-2"
 									/>
 									{model.name}