{#if loaded}
{#if ($info?.ollama?.version ?? '0').localeCompare( requiredOllamaVersion, undefined, { numeric: true, sensitivity: 'case', caseFirst: 'upper' } ) < 0}
Ollama Update Required
Oops! It seems like your Ollama needs a little attention.
We encountered a connection issue or noticed that you're running an outdated version. Please update to
{requiredOllamaVersion} or above
.
{ await setOllamaVersion(await getOllamaVersion()); }} > Check Again
{ await setOllamaVersion(requiredOllamaVersion); }}>Close
{/if}
{/if}