{#if loaded}
0} initNewChat={async () => { if (currentRequestId !== null) { await cancelChatCompletion(localStorage.token, currentRequestId); currentRequestId = null; } goto('/'); }} {tags} {addTag} {deleteTag} />
{ autoScroll = messagesContainerElement.scrollHeight - messagesContainerElement.scrollTop <= messagesContainerElement.clientHeight + 50; }} >
0} {sendPrompt} {continueGeneration} {regenerateResponse} />
{/if}