Planning question
{#if pending}
{questionIndex + 1} / {questions.length} ยท paused while this chat is visible
{:else if item.timed_out || resolved.timed_out}
Used recommendations
{/if}
{#if question}
{question.header}
{question.question}
{#if pending}
{#each question.options || [] as option, optionIndex} {/each} {#if selections[question.id] === '__other__'} (otherAnswers = { ...otherAnswers, [question.id]: event.currentTarget.value })} /> {/if}
{:else}
{resolved.answers?.[question.id]?.answers?.join(', ') || 'No answer recorded'}
{/if}
{/if}
{#if questionIndex < questions.length - 1} {:else if pending} {/if}