diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 97b2cfde..ea93b8df 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -857,7 +857,7 @@ -
+
{#if messages.length == 0}
@@ -873,211 +873,221 @@
{:else} {#each messages as message, messageIdx} -
-
-
-
+
+
+
+
- {#if message.role != 'user' && message.content == ''} -
-
-
-
+
+
+ {message.role === 'user' ? 'You' : 'Ollama'} +
-
-
-
-
-
-
-
-
-
+ {#if message.role !== 'user' && message.content === ''} +
+
+
+
-
+
+
+
+
+
+
+
+
+
+ +
+
-
- {:else} -
- {#if message.role == 'user'} - {#if message?.edit === true} -
-