diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index ab755a57e..77ddd8f70 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -494,47 +494,53 @@ class=" flex justify-start space-x-1 overflow-x-auto buttons text-gray-700 dark:text-gray-500" > {#if siblings.length > 1} -
+
-
- {siblings.indexOf(message.id) + 1} / {siblings.length} +
+ {siblings.indexOf(message.id) + 1}/{siblings.length}
diff --git a/src/lib/components/chat/Messages/UserMessage.svelte b/src/lib/components/chat/Messages/UserMessage.svelte index f3f55d74b..5b9638ad5 100644 --- a/src/lib/components/chat/Messages/UserMessage.svelte +++ b/src/lib/components/chat/Messages/UserMessage.svelte @@ -60,9 +60,9 @@ class="prose chat-{message.role} w-full max-w-full flex flex-col justify-end dark:prose-invert prose-headings:my-0 prose-p:my-0 prose-p:-mb-4 prose-pre:my-0 prose-table:my-0 prose-blockquote:my-0 prose-img:my-0 prose-ul:-my-4 prose-ol:-my-4 prose-li:-my-3 prose-ul:-mb-6 prose-ol:-mb-6 prose-li:-mb-4 whitespace-pre-line" > {#if message.files} -
+
{#each message.files as file} -
+
{#if file.type === 'image'} input {:else if file.type === 'doc'} @@ -274,45 +274,49 @@ {#if siblings.length > 1}
-
- {siblings.indexOf(message.id) + 1} / {siblings.length} +
+ {siblings.indexOf(message.id) + 1}/{siblings.length}