{#key mounted}
{#each models as model, modelIdx}
{ selectedModelIdx = modelIdx; }} >
{/each}
{#if models[selectedModelIdx]?.info} {models[selectedModelIdx]?.info?.name} {:else} {$i18n.t('Hello, {{name}}', { name: $user.name })} {/if}
{#if models[selectedModelIdx]?.info?.meta?.description ?? null}
{@html marked.parse(models[selectedModelIdx]?.info?.meta?.description)}
{#if models[selectedModelIdx]?.info?.meta?.user}
By {#if models[selectedModelIdx]?.info?.meta?.user.community}
{models[selectedModelIdx]?.info?.meta?.user.name ? models[selectedModelIdx]?.info?.meta?.user.name : `@${models[selectedModelIdx]?.info?.meta?.user.username}`}
{:else} {models[selectedModelIdx]?.info?.meta?.user.name} {/if}
{/if} {:else}
{$i18n.t('How can I help you today?')}
{/if}
{/key}