Spaces:
Runtime error
Runtime error
dark
Browse filesFiles changed (2)
227 unmodified lines228229230231232233234235236237238239240241242243244245246247227 unmodified lines>{#if conversations.length > 1}<divclass="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:mr-3={index === 0}class:mx-3={index === 1}><div class="size-3.5 rounded bg-black"></div><div>{conversation.model}</div><buttonclass="ml-auto flex size-6 items-center justify-center rounded bg-gray-50 text-xs hover:bg-gray-100"on:click={() => (conversations = conversations.filter((_, i) => i !== index))}>✕</button><buttonclass=" flex size-6 items-center justify-center rounded bg-gray-50 hover:bg-gray-100"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path227 unmodified lines228229230231232233234235236237238239240241242243244245246247227 unmodified lines>{#if conversations.length > 1}<divclass="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 dark:bg-gray-400"></div><div>{conversation.model}</div><buttonclass="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><buttonclass=" 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"><path
12 unmodified lines1314151617181912 unmodified lines</script><divclass="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}"><div class="col-span-2 pb-1 pt-3 text-sm font-semibold uppercase @2xl:col-span-1 @2xl:pb-2">{message.role}12 unmodified lines1314151617181912 unmodified lines</script><divclass="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