{ updateOpenAIHandler(); dispatch('save'); // saveSettings({ // OPENAI_API_KEY: OPENAI_API_KEY !== '' ? OPENAI_API_KEY : undefined, // OPENAI_API_BASE_URL: OPENAI_API_BASE_URL !== '' ? OPENAI_API_BASE_URL : undefined // }); }} >
{$i18n.t('OpenAI API')}
{#if showOpenAI}
{$i18n.t('API Key')}
{$i18n.t('API Base URL')}
WebUI will make requests to '{OPENAI_API_BASE_URL}/chat'
{/if}

{$i18n.t('Ollama API URL')}
Trouble accessing Ollama? Click here for help.