{#if showModelSelector} {/if}
{#if shareEnabled && chat && (chat.id || $temporaryChatEnabled)} { showShareChatModal = !showShareChatModal; }} downloadHandler={() => { showDownloadChatModal = !showDownloadChatModal; }} > {/if} {#if !$mobile} {/if} {#if $user !== undefined} { if (e.detail === 'archived-chat') { showArchivedChats.set(true); } }} > {/if}