+ {#if messages.length === 0 && !isSending}
+
Schreibe eine Nachricht
+ {/if}
+
+ {#each messages as msg (msg.id)}
+
+
+
{msg.messageText}
+
+ {new Date(msg.createdAt).toLocaleTimeString('de-DE', {
+ hour: '2-digit',
+ minute: '2-digit',
+ })}
+
+
+
+ {/each}
+
+ {#if isSending && streamingText}
+
+
+
{streamingText}
+
...
+
+
+ {:else if isSending}
+
+ {/if}
+