Spaces:
Runtime error
Runtime error
Show model modal even if only one model is available (#536)
Browse files
src/lib/components/chat/ChatIntroduction.svelte
CHANGED
|
@@ -67,14 +67,12 @@
|
|
| 67 |
<div class="text-sm text-gray-600 dark:text-gray-400">Current Model</div>
|
| 68 |
<div class="font-semibold">{currentModel.displayName}</div>
|
| 69 |
</div>
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
>
|
| 77 |
-
{/if}
|
| 78 |
</div>
|
| 79 |
<ModelCardMetadata variant="dark" model={currentModel} />
|
| 80 |
</div>
|
|
|
|
| 67 |
<div class="text-sm text-gray-600 dark:text-gray-400">Current Model</div>
|
| 68 |
<div class="font-semibold">{currentModel.displayName}</div>
|
| 69 |
</div>
|
| 70 |
+
<button
|
| 71 |
+
type="button"
|
| 72 |
+
on:click={() => (isModelsModalOpen = true)}
|
| 73 |
+
class="btn ml-auto flex h-7 w-7 self-start rounded-full bg-gray-100 p-1 text-xs hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-800 dark:hover:bg-gray-600"
|
| 74 |
+
><IconChevron /></button
|
| 75 |
+
>
|
|
|
|
|
|
|
| 76 |
</div>
|
| 77 |
<ModelCardMetadata variant="dark" model={currentModel} />
|
| 78 |
</div>
|