Spaces:
Runtime error
Runtime error
dark
Browse filesFiles changed (2)
227 unmodified lines228229230231231232233234235235236237238238239240241242243244244245246247227 unmodified lines > {#if conversations.length > 1} <div class="flex h-11 flex-none items-center gap-1.5 whitespace-nowrap rounded-lg border border-gray-200/80 bg-white pl-3 pr-2 text-sm leading-none shadow-sm *:flex-none" class="flex h-11 flex-none items-center gap-1.5 whitespace-nowrap rounded-lg border border-gray-200/80 bg-white pl-3 pr-2 text-sm leading-none shadow-sm *:flex-none dark:border-gray-800 dark:bg-gray-800/70 dark:hover:bg-gray-800" class:mr-3={index === 0} class:mx-3={index === 1} > <div class="size-3.5 rounded bg-black"></div> <div class="size-3.5 rounded bg-black dark:bg-gray-400"></div> <div>{conversation.model}</div> <button class="ml-auto flex size-6 items-center justify-center rounded bg-gray-50 text-xs hover:bg-gray-100" class="ml-auto flex size-6 items-center justify-center rounded bg-gray-50 text-xs hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700" on:click={() => (conversations = conversations.filter((_, i) => i !== index))} > ✕ </button> <button class=" flex size-6 items-center justify-center rounded bg-gray-50 hover:bg-gray-100" class=" flex size-6 items-center justify-center rounded bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700" > <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32" ><path12 unmodified lines131415161617181912 unmodified lines</script>
<div class="group/message group grid grid-cols-[1fr,2.5rem] items-start gap-2 px-3.5 pb-6 pt-4 hover:bg-gray-100/70 @2xl:grid-cols-[130px,1fr,2.5rem] @2xl:grid-rows-1 @2xl:gap-4 @2xl:px-6 dark:hover:bg-gray-800/50 {$$props.class}" class="group/message group grid grid-cols-[1fr,2.5rem] items-start gap-2 px-3.5 pb-6 pt-4 hover:bg-gray-100/70 @2xl:grid-cols-[130px,1fr,2.5rem] @2xl:grid-rows-1 @2xl:gap-4 @2xl:px-6 dark:border-gray-800 dark:hover:bg-gray-800/50 {$$props.class}"> <div class="col-span-2 pb-1 pt-3 text-sm font-semibold uppercase @2xl:col-span-1 @2xl:pb-2"> {message.role}src/lib/components/Playground/Playground.svelte+4-4
src/lib/components/Playground/PlaygroundMessage.svelte+1-1