Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
dark
Browse files
src/lib/components/InferencePlayground/InferencePlaygroundConversationHeader.svelte
CHANGED
|
@@ -59,20 +59,22 @@
|
|
| 59 |
: 'mx-4'} flex h-11 flex-none items-center gap-2 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"
|
| 60 |
>
|
| 61 |
<Avatar orgName={nameSpace} size="md" />
|
| 62 |
-
<button on:click={() => (modelSelectorOpen = true)}
|
|
|
|
|
|
|
| 63 |
<button
|
| 64 |
-
class="
|
| 65 |
on:click={() => dispatch("close", conversation.model.id)}
|
| 66 |
>
|
| 67 |
✕
|
| 68 |
</button>
|
| 69 |
<button
|
| 70 |
-
class="group relative flex size-6 items-center justify-center rounded bg-gray-50 hover:bg-gray-100 dark:bg-gray-
|
| 71 |
>
|
| 72 |
<IconCog />
|
| 73 |
<GenerationConfig
|
| 74 |
bind:conversation
|
| 75 |
-
classNames="absolute top-7 min-w-[250px] z-10 right-3 bg-white dark:bg-gray-900 p-4 rounded-xl border border-gray-200 dark:border-gray-
|
| 76 |
/>
|
| 77 |
</button>
|
| 78 |
</div>
|
|
|
|
| 59 |
: 'mx-4'} flex h-11 flex-none items-center gap-2 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"
|
| 60 |
>
|
| 61 |
<Avatar orgName={nameSpace} size="md" />
|
| 62 |
+
<button class="!flex-1 self-stretch text-left hover:underline" on:click={() => (modelSelectorOpen = true)}
|
| 63 |
+
>{conversation.model.id}</button
|
| 64 |
+
>
|
| 65 |
<button
|
| 66 |
+
class="flex size-6 items-center justify-center rounded bg-gray-50 text-xs hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600"
|
| 67 |
on:click={() => dispatch("close", conversation.model.id)}
|
| 68 |
>
|
| 69 |
✕
|
| 70 |
</button>
|
| 71 |
<button
|
| 72 |
+
class="group relative flex size-6 items-center justify-center rounded bg-gray-50 hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600"
|
| 73 |
>
|
| 74 |
<IconCog />
|
| 75 |
<GenerationConfig
|
| 76 |
bind:conversation
|
| 77 |
+
classNames="absolute top-7 min-w-[250px] z-10 right-3 bg-white dark:bg-gray-900 p-4 rounded-xl border border-gray-200 dark:border-gray-800 hidden group-focus:flex hover:flex"
|
| 78 |
/>
|
| 79 |
</button>
|
| 80 |
</div>
|