From aaf4a335b5cb436d50f9dba9332f4ad3f20cfe1b Mon Sep 17 00:00:00 2001 From: BeepBeepBopBop Date: Fri, 29 Nov 2024 22:44:30 +0100 Subject: [PATCH] Update ChatMessage.razor --- .../UI/Razor/Components/ChatMessage.razor | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/LM-Kit-Maestro/UI/Razor/Components/ChatMessage.razor b/LM-Kit-Maestro/UI/Razor/Components/ChatMessage.razor index 5b0a7ae..2a7019c 100644 --- a/LM-Kit-Maestro/UI/Razor/Components/ChatMessage.razor +++ b/LM-Kit-Maestro/UI/Razor/Components/ChatMessage.razor @@ -25,43 +25,43 @@ { -
-
+
+
@if (HasMultipleResponses) { - + - + @($"{responseIndex + 1} / {MessageViewModel.PreviousContent.Count + 1}") - + - + } - + @if (MessageViewModel.Sender == MessageSender.Assistant) { - + @if (MessageViewModel.TerminationReason != LMKit.TextGeneration.TextGenerationResult.StopReason.Unknown) { - + @($"{MessageViewModel.GeneratedTokens} tokens • Termination reason: {MessageViewModel.TerminationReason}") - + } } -
-
+
+
}