Merge pull request #164 from ollama-webui/dev

fix: user message formatting
This commit is contained in:
Timothy Jaeryang Baek 2023-11-29 20:54:22 -05:00 committed by GitHub
commit 4c4d50f10f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -425,7 +425,7 @@
{/each}
</div>
{/if}
{message.content}
<pre class="">{message.content}</pre>
<div class=" flex justify-start space-x-1">
{#if message.parentId !== null && message.parentId in history.messages && (history.messages[message.parentId]?.childrenIds.length ?? 0) > 1}