{ if (e.detail === false) { onClose(); } }} >
{#if Object.keys(tools).length > 0}
{#each Object.keys(tools) as toolId}
{tools[toolId].name}
{ selectedToolIds = e.detail ? [...selectedToolIds, toolId] : selectedToolIds.filter((id) => id !== toolId); }} />
{/each}

{/if} {#if $config?.features?.enable_web_search}
{$i18n.t('Web Search')}

{/if} { uploadFilesHandler(); }} >
{$i18n.t('Upload Files')}