{#if !$settings.ethicsModalAccepted} {:else if loginModalOpen} { loginModalOpen = false; }} /> {/if} { if ($page.data.loginRequired) { loginModalOpen = true; } else { dispatch("message", ev.detail); } }} on:vote on:retry={(ev) => { if (!loading) dispatch("retry", ev.detail); }} />
{#if sources.length}
{#each sources as source, index} {#await source then src}
input content
{/await} {/each}
{/if}
{#if $page.data.settings?.searchEnabled} {/if} {#if loading} dispatch("stop")} /> {:else if lastIsError} dispatch("retry", { id: messages[messages.length - 1].id, content: messages[messages.length - 1].content, })} /> {:else if currentModel.multimodal} {/if}
{#if onDrag && currentModel.multimodal} {:else}
{#if lastIsError} {:else} { if ($page.data.loginRequired) { ev.preventDefault(); loginModalOpen = true; } }} maxRows={6} disabled={isReadOnly || lastIsError} /> {/if} {#if loading} {:else} {/if}
{/if}

Model: {currentModel.displayName} ยท
Generated content may be inaccurate or false.

{#if messages.length} {/if}