{#if edit} {$i18n.t('Edit Connection')} {:else} {$i18n.t('Add Connection')} {/if}
{ e.preventDefault(); submitHandler(); }} >
{$i18n.t('URL')}
{$i18n.t('Key')}
{$i18n.t('Prefix ID')}

{$i18n.t('Model IDs')}
{#if modelIds.length > 0}
{#each modelIds as modelId, modelIdx}
{modelId}
{/each}
{:else}
{#if ollama} {$i18n.t('Leave empty to include all models from "{{URL}}/api/tags" endpoint', { URL: url })} {:else} {$i18n.t('Leave empty to include all models from "{{URL}}/models" endpoint', { URL: url })} {/if}
{/if}

{#if edit} {/if}