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

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}