{ addModelHandler(e.detail); }} />
{ submitHandler(); dispatch('save'); }} >
{#if config !== null}
{$i18n.t('General Settings')}
{$i18n.t('Arena Models')}
{#if config.ENABLE_EVALUATION_ARENA_MODELS}
{$i18n.t('Manage Arena Models')}
{#if (config?.EVALUATION_ARENA_MODELS ?? []).length > 0} {#each config.EVALUATION_ARENA_MODELS as model, index} { editModelHandler(e.detail, index); }} on:delete={(e) => { deleteModelHandler(index); }} /> {/each} {:else}
{$i18n.t( `Using the default arena model with all models. Click the plus button to add custom models.` )}
{/if}
{/if}
{:else}
{/if}