{ updateOpenAIHandler(); dispatch('save'); }} >
{$i18n.t('OpenAI API')}
{ showOpenAI = !showOpenAI; }}>{showOpenAI ? $i18n.t('Hide') : $i18n.t('Show')}
{#if showOpenAI}
{$i18n.t('API Key')}
{$i18n.t('API Base URL')}
WebUI will make requests to
'{OPENAI_API_BASE_URL}/chat'
{/if}
Ollama Base URL
{#each OLLAMA_BASE_URLS as url, idx}
{#if idx === 0}
{ OLLAMA_BASE_URLS = [...OLLAMA_BASE_URLS, '']; }} type="button" >
{:else}
{ OLLAMA_BASE_URLS = OLLAMA_BASE_URLS.filter((url, urlIdx) => idx !== urlIdx); }} type="button" >
{/if}
{/each}
{ updateOllamaUrlsHandler(); }} type="button" >
{$i18n.t('Trouble accessing Ollama?')}
{$i18n.t('Click here for help')}
{$i18n.t('Save')}