{#if assistantsCreator && !createdByMe}
{assistantsCreator}'s Assistants
{#if isHuggingChat}
View {assistantsCreator}
on HF
{/if}
{:else}
Community
{#if data.user?.username}
{data.user.username}
{/if}
{/if}
filterOnName(e.currentTarget.value)}
bind:this={filterInputEl}
maxlength="150"
type="search"
aria-label="Filter assistants by name"
/>
{#each data.assistants as assistant (assistant._id)}
{@const hasRag =
assistant?.rag?.allowAllDomains ||
!!assistant?.rag?.allowedDomains?.length ||
!!assistant?.rag?.allowedLinks?.length ||
!!assistant?.dynamicPrompt}
{:else}
No assistants found
{/each}