{$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}
{/if}
{$i18n.t('System Prompt')}
{$i18n.t('Advanced Params')}