{ updateOpenAIHandler(); dispatch('save'); }} >
OpenAI API
{ showOpenAI = !showOpenAI; }}>{showOpenAI ? 'Hide' : 'Show'}
{#if showOpenAI}
API Key
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" >
Trouble accessing Ollama?
Click here for help.
Save