{$i18n.t('Chat Controls')}
{#if chatFiles.length > 0}
{$i18n.t('Files')}
{#each chatFiles as file, fileIdx} { // Remove the file from the chatFiles array chatFiles.splice(fileIdx, 1); chatFiles = chatFiles; }} /> {/each}

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

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