{#if codeExecution?.result}
{#if codeExecution.result?.error} {:else if codeExecution.result?.output} {:else} {/if}
{/if}
{#if !codeExecution?.result}
{/if}
{#if codeExecution?.name} {$i18n.t('Code execution')}: {codeExecution?.name} {:else} {$i18n.t('Code execution')} {/if}
{#if codeExecution?.result && (codeExecution?.result?.error || codeExecution?.result?.output)}
{#if codeExecution?.result?.error}
{$i18n.t('ERROR')}
{codeExecution?.result?.error}
{/if} {#if codeExecution?.result?.output}
{$i18n.t('OUTPUT')}
{codeExecution?.result?.output}
{/if}
{/if} {#if codeExecution?.result?.files && codeExecution?.result?.files.length > 0}

{$i18n.t('Files')}
    {#each codeExecution?.result?.files as file}
  • {file.name}
  • {/each}
{/if}