diff --git a/src/lib/components/chat/Messages/CodeBlock.svelte b/src/lib/components/chat/Messages/CodeBlock.svelte index 17fcc4f9c..ed817c22b 100644 --- a/src/lib/components/chat/Messages/CodeBlock.svelte +++ b/src/lib/components/chat/Messages/CodeBlock.svelte @@ -286,7 +286,7 @@ __builtins__.input = input`);
{@html lang}
- {#if lang === 'python' || checkPythonCode(code)} + {#if ['', 'python'].includes(lang) && (lang === 'python' || checkPythonCode(code))} {#if executing}
Running
{:else}