diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index c7890f1c5..571ac924e 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -453,7 +453,9 @@
{#if message.content === '' && !message.error} - {:else if !message.error} + {:else if message.content && message.error !== true} + + {#each tokens as token, tokenIdx} {#if token.type === 'code'}