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