From 02d184585f7018f6251f1d27760a1f9ef895fb41 Mon Sep 17 00:00:00 2001 From: robin Date: Mon, 6 Oct 2025 17:32:05 +0000 Subject: [PATCH] zwischenstand --- .../lib/components/chatbotDemo/Chatbot.svelte | 26 +++++++++-------- .../components/chatbotDemo/Messages.svelte | 29 ++++++++++--------- .../staticPageRows/FAQSection.svelte | 25 ++++++++++------ .../staticPageRows/OfferPackages.svelte | 7 ++--- 4 files changed, 48 insertions(+), 39 deletions(-) diff --git a/frontend/src/lib/components/chatbotDemo/Chatbot.svelte b/frontend/src/lib/components/chatbotDemo/Chatbot.svelte index 6445109..8726d18 100644 --- a/frontend/src/lib/components/chatbotDemo/Chatbot.svelte +++ b/frontend/src/lib/components/chatbotDemo/Chatbot.svelte @@ -62,18 +62,20 @@ diff --git a/frontend/src/lib/components/chatbotDemo/Messages.svelte b/frontend/src/lib/components/chatbotDemo/Messages.svelte index 5b1f13a..77e3676 100644 --- a/frontend/src/lib/components/chatbotDemo/Messages.svelte +++ b/frontend/src/lib/components/chatbotDemo/Messages.svelte @@ -12,11 +12,21 @@
{#each messages as message, idx (idx)} {#if message.role === "assistant"} -
-
- {@html message.content || ""} + {#if message.content !== ""} +
+
+ {@html message.content || ""} +
-
+ {:else} +
+
+ + + +
+
+ {/if} {:else if message.role === "user"}
@@ -31,15 +41,6 @@
{/if} {/each} - {#if streaming} -
-
- - - -
-
- {/if}