mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
refac
This commit is contained in:
parent
27ff386115
commit
01c077da3d
@ -295,7 +295,7 @@
|
||||
}}
|
||||
/>
|
||||
{:else}
|
||||
<div class=" pb-10">
|
||||
<div class="pt-2 pb-10">
|
||||
{#key chatId}
|
||||
{#each messages as message, messageIdx}
|
||||
<div class=" w-full">
|
||||
|
@ -137,6 +137,7 @@
|
||||
.getElementById(`message-${message.id}`)
|
||||
?.getElementsByClassName('chat-assistant');
|
||||
|
||||
if (chatMessageElements) {
|
||||
for (const element of chatMessageElements) {
|
||||
auto_render(element, {
|
||||
// customised options
|
||||
@ -152,6 +153,7 @@
|
||||
throwOnError: false
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const playAudio = (idx) => {
|
||||
|
Loading…
Reference in New Issue
Block a user