Commit 01c077da authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac

parent 27ff3861
......@@ -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) => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment