{ autoScroll = window.innerHeight + window.scrollY >= document.body.offsetHeight - 30; }} />
{#if messages.length == 0}
Get up and running with large language models, locally.
Run Llama 2, Code Llama, and other models.
Customize and create your own.
{:else} {#each messages as message, messageIdx}
{message.role === 'user' ? 'You' : 'Ollama'}
{#if message.role !== 'user' && message.content === ''}
{:else}
{#if message.role == 'user'} {#if message?.edit === true}