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