mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
refac: citation styling
This commit is contained in:
parent
9b59039388
commit
66e7e577df
@ -470,8 +470,8 @@
|
||||
} -->
|
||||
|
||||
{#if message.citations}
|
||||
<hr class=" dark:border-gray-800 mt-1" />
|
||||
<div class="my-2.5 w-full flex overflow-x-auto gap-2 flex-wrap">
|
||||
<hr class=" dark:border-gray-800 my-1" />
|
||||
<div class="my-2.5 w-full flex flex-col gap-1">
|
||||
{#each message.citations.reduce((acc, citation) => {
|
||||
citation.document.forEach((document, index) => {
|
||||
const metadata = citation.metadata?.[index];
|
||||
|
Loading…
Reference in New Issue
Block a user