Merge branch 'dev' of https://github.com/open-webui/open-webui into feat/rtl-layout-chat-support
This commit is contained in:
@@ -434,9 +434,10 @@
|
||||
{:else if message.content === ''}
|
||||
<Skeleton />
|
||||
{:else}
|
||||
{#each tokens as token}
|
||||
{#each tokens as token, tokenIdx}
|
||||
{#if token.type === 'code'}
|
||||
<CodeBlock
|
||||
id={`${message.id}-${tokenIdx}`}
|
||||
lang={token.lang}
|
||||
code={revertSanitizedResponseContent(token.text)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user