Playground
(Beta)
{ if (mode === 'complete') { mode = 'chat'; } else { mode = 'complete'; } }} > {#if mode === 'complete'} Text Completion {:else if mode === 'chat'} Chat {/if}
Select a model
{#each $models as model} {#if model.name === 'hr'}
{:else}
{model.name + `${model.size ? ` (${(model.size / 1024 ** 3).toFixed(1)}GB)` : ''}`}
{/if} {/each}
{#if mode === 'chat'}
System
{/if}
{#if mode === 'complete'}
{:else if mode === 'chat'}
{/if}
{#if !loading}
{ submitHandler(); }} > Submit
{:else}
{ stopResponse(); }} > Cancel
{/if}