{#key mounted}
{#if $temporaryChatEnabled}
Temporary Chat
{/if}
{#each models as model, modelIdx}
tag.name.toUpperCase()) .join(', ')} placement="top" >
{ selectedModelIdx = modelIdx; }} >
{/each}
{#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} {/if}
{ dispatch('upload', e.detail); }} on:submit={(e) => { dispatch('submit', e.detail); }} />
{ selectSuggestionPrompt(e.detail); }} />
{/key}