{$i18n.t('Playground')}
{$i18n.t('(Beta)')}
{ if (mode === 'complete') { mode = 'chat'; } else { mode = 'complete'; } }} > {#if mode === 'complete'} {$i18n.t('Text Completion')} {:else if mode === 'chat'} {$i18n.t('Chat')} {/if}
model.name !== 'hr') .map((model) => ({ value: model.id, label: model.name, info: model }))} bind:value={selectedModelId} />
{#if mode === 'chat'}
{$i18n.t('System')}
{/if}
{#if mode === 'complete'}
{:else if mode === 'chat'}
{/if}
{#if !loading}
{ submitHandler(); }} > {$i18n.t('Submit')}
{:else}
{ stopResponse(); }} > {$i18n.t('Cancel')}
{/if}