{#if filteredItems.length > 0 || prompt.split(' ')?.at(0)?.substring(1).startsWith('http')}
#
{#each filteredItems as doc, docIdx} {/each} {#if prompt.split(' ')?.at(0)?.substring(1).startsWith('http')} {/if}
{/if}