icon
Browse files
src/lib/components/Playground/Playground.svelte
CHANGED
@@ -191,7 +191,19 @@
|
|
191 |
class="flex px-6 py-6 hover:bg-gray-50 dark:hover:bg-gray-800/50"
|
192 |
on:click={addMessage}
|
193 |
>
|
194 |
-
<div class="!p-0 text-sm font-semibold">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
</button>
|
196 |
{:else}
|
197 |
<PlaygroundCode model={currentModel} {streaming} {temperature} {maxTokens} />
|
|
|
191 |
class="flex px-6 py-6 hover:bg-gray-50 dark:hover:bg-gray-800/50"
|
192 |
on:click={addMessage}
|
193 |
>
|
194 |
+
<div class="flex items-center gap-2 !p-0 text-sm font-semibold">
|
195 |
+
<svg
|
196 |
+
xmlns="http://www.w3.org/2000/svg"
|
197 |
+
width="1em"
|
198 |
+
height="1em"
|
199 |
+
viewBox="0 0 32 32"
|
200 |
+
class="text-lg"
|
201 |
+
><path
|
202 |
+
fill="currentColor"
|
203 |
+
d="M16 2A14.172 14.172 0 0 0 2 16a14.172 14.172 0 0 0 14 14a14.172 14.172 0 0 0 14-14A14.172 14.172 0 0 0 16 2Zm8 15h-7v7h-2v-7H8v-2h7V8h2v7h7Z"
|
204 |
+
/><path fill="none" d="M24 17h-7v7h-2v-7H8v-2h7V8h2v7h7v2z" /></svg
|
205 |
+
>Add message
|
206 |
+
</div>
|
207 |
</button>
|
208 |
{:else}
|
209 |
<PlaygroundCode model={currentModel} {streaming} {temperature} {maxTokens} />
|