{#if loaded}
{ showSidebar.set(!$showSidebar); }} aria-label="Toggle Sidebar" >
{#if $user?.role === 'admin' || $user?.permissions?.workspace?.models}
{$i18n.t('Models')}
{/if} {#if $user?.role === 'admin' || $user?.permissions?.workspace?.knowledge}
{$i18n.t('Knowledge')}
{/if} {#if $user?.role === 'admin' || $user?.permissions?.workspace?.prompts}
{$i18n.t('Prompts')}
{/if} {#if $user?.role === 'admin' || $user?.permissions?.workspace?.tools}
{$i18n.t('Tools')}
{/if}
{/if}