Spaces:
Runtime error
Runtime error
layout
Browse files91 unmodified lines929394959697989910010110210310410510610710840 unmodified lines14915015115215315415591 unmodified lines></textarea></div><div class="relative divide-y divide-gray-200">{#each messages as message, i}<PlaygroundMessage {message} on:delete={() => deleteMessage(i)} />{/each}<buttonclass="grid w-full grid-cols-[130px,1fr] items-center py-6 hover:bg-gray-50"on:click={addMessage}><div class="button !p-0 text-sm font-semibold">Add message</div></button><div class="absolute inset-x-0 bottom-0 flex h-20 items-center gap-2 whitespace-nowrap px-5"><buttontype="button"class="rounded-lg border border-gray-200 bg-white px-5 py-2.5 text-sm font-medium text-gray-900 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:outline-none focus:ring-4 focus:ring-gray-100 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-700"40 unmodified lines</button></div></div><div class="flex flex-col gap-6 p-5"><PlaygroundOptions {compatibleModels} bind:currentModel /></div></div>91 unmodified lines929394959697989910010110210310410510610710810911011111211340 unmodified lines15415515615715815916091 unmodified lines></textarea></div><div class="relative divide-y divide-gray-200"><div class="flex max-h-[calc(100dvh-5rem)] flex-col divide-y divide-gray-200 overflow-y-auto">{#each messages as message, i}<PlaygroundMessage {message} on:delete={() => deleteMessage(i)} />{/each}<buttonclass="grid w-full grid-cols-[130px,1fr] items-center py-6 hover:bg-gray-50"on:click={addMessage}><div class="button !p-0 text-sm font-semibold">Add message</div></button></div><divclass="inset-x-0 bottom-0 flex h-20 items-center gap-2 overflow-hidden whitespace-nowrap px-5 md:absolute"><buttontype="button"class="rounded-lg border border-gray-200 bg-white px-5 py-2.5 text-sm font-medium text-gray-900 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:outline-none focus:ring-4 focus:ring-gray-100 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-700"40 unmodified lines</button></div></div><div class="flex flex-col gap-6 overflow-hidden p-5"><PlaygroundOptions {compatibleModels} bind:currentModel /></div></div>
src/lib/components/Playground/Playground.svelte+15-10