(isNavOpen = ev.detail)}
title={conversations_list.find((conv) => conv.id === $page.params.id)?.title}
>
shareConversation(ev.detail.id, ev.detail.title)}
on:deleteConversation={(ev) => deleteConversation(ev.detail)}
on:clickSettings={() => (isSettingsOpen = true)}
on:editConversationTitle={(ev) => editConversationTitle(ev.detail.id, ev.detail.title)}
/>
{#if currentError}
{/if}
{#if shouldLogin}
showLoggedPopup_writable.set(false)} />
{/if}
{#if showWarning}
(showWarning = false)} />
{/if}
{#if isInit}
{/if}
{#if isloading}
{/if}
{#if isSettingsOpen}
(isSettingsOpen = false)}
on:deleteAllConversations={() => ((isSettingsOpen = false), deleteAllChats())}
settings={data.settings}
models={data.models}
/>
{/if}