{ showChatMenu = false }}>
{ showChatMenu = !showChatMenu }} >
{ if (chatId) close(); $showSetChatSettings = true }}>
Chat Profile Settings
close()} class="dropdown-item">
New Chat
{ if (chatId) close(); copyChat(chatId) }}>
Clone Chat
{ if (chatId) restartChatSession() }}>
Restart Chat Session
{ if (chatId) close(); clearMessages(chatId) }}>
Clear Chat Messages
{ close(); exportChatAsJSON(chatId) }}>
Backup Chat JSON
{ if (chatId) close(); chatFileInput.click() }}>
Restore Chat JSON
{ if (chatId) close(); exportAsMarkdown(chatId) }}>
Export Chat Markdown
{ if (chatId) close(); deleteChat() }}>
Delete Chat
{ if (chatId) confirmClearChats() }}>
Delete ALL Chats
{ if (chatId) toggleHideSummarized() }}> {#if $globalStorage.hideSummarized}
Show Summarized Messages {:else}
Hide Summarized Messages {/if}
API Key
importChatFromFile(e)} bind:this={chatFileInput} >
{ if (event.key === 'Escape') { event.stopPropagation() showChatMenu = false } }} />