{#key mounted}
{#each models as model, modelIdx} {/each}
{#if $temporaryChatEnabled}
Temporary Chat
{/if}
{#if models[selectedModelIdx]?.name} {models[selectedModelIdx]?.name} {:else} {$i18n.t('Hello, {{name}}', { name: $user.name })} {/if}
{#if models[selectedModelIdx]?.info?.meta?.description ?? null}
{@html marked.parse( sanitizeResponseContent(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}
{ submitPrompt(e.detail); }} />
{/key}