{#if questions.visible && exchange}
side question {statusText}

{exchange.question}

{#if exchange.status === 'running'}

asking the model beside the main task…

{:else if exchange.status === 'answered' && exchange.answer}
{:else if exchange.status === 'failed'}

{exchange.error ?? 'the side question failed'}

{:else if exchange.status === 'cancelled'}

cancelled

{/if} {#if questions.continueError}

{questions.continueError}

{/if} {#if exchange.status === 'answered'} {/if}
{/if}