From 8e83a20102e2f346b6a2bf68f6edfaa01c35ee33 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 4 Dec 2023 00:07:03 -0800 Subject: [PATCH] fix: message role title styling --- src/lib/components/chat/Messages.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 9e7fd71a..6f827fd2 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -359,11 +359,13 @@
-
+
{#if message.role === 'user'} You {:else if selectedModelfile} - {selectedModelfile.title} + + {selectedModelfile.title} + {:else} Ollama {message.model ? ` ${message.model}` : ''}