{$i18n.t('Chat Controls')}
{#if chatFiles.length > 0}
{$i18n.t('Files')}
{#each chatFiles as file} { // Remove the file from the chatFiles array chatFiles = chatFiles.filter((f) => f.id !== file.id); }} /> {/each}

{/if} {#if models.length === 1 && models[0]?.pipe?.valves_spec}
{$i18n.t('Valves')}

{/if}
{$i18n.t('System Prompt')}