diff --git a/src/lib/Chat.svelte b/src/lib/Chat.svelte index af5a364..9b8ba54 100644 --- a/src/lib/Chat.svelte +++ b/src/lib/Chat.svelte @@ -38,6 +38,9 @@ // Clear the input value input.value = ""; + // Resize back to auto + input.style.height = "auto"; + // Show updating bar updating = true; @@ -148,7 +151,10 @@ {#each chat.messages as message} {#if message.role === "user"} -
+
line.trim()).length === 1} + >
{:else if message.role === "system"} -
+
{:else} -
+