diff --git a/src/lib/components/chat/Messages/CodeBlock.svelte b/src/lib/components/chat/Messages/CodeBlock.svelte index 53da03af8..4a84c0398 100644 --- a/src/lib/components/chat/Messages/CodeBlock.svelte +++ b/src/lib/components/chat/Messages/CodeBlock.svelte @@ -288,7 +288,7 @@ __builtins__.input = input`); }); -
+
{#if lang === 'mermaid'} {#if mermaidHtml} {@html `${mermaidHtml}`} @@ -297,11 +297,11 @@ __builtins__.input = input`); {/if} {:else}
{lang}
-
+
{#if lang.toLowerCase() === 'python' || lang.toLowerCase() === 'py' || (lang === '' && checkPythonCode(code))} {#if executing}
Running