This commit is contained in:
Timothy J. Baek 2024-06-01 20:26:19 -07:00
parent aa7fcca4ee
commit bdcfbfeb11
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,8 @@
pipelineUrls[OPENAI_API_BASE_URLS[idx]] = true; pipelineUrls[OPENAI_API_BASE_URLS[idx]] = true;
} }
} }
await models.set(await getModels());
}; };
const verifyOllamaHandler = async (idx) => { const verifyOllamaHandler = async (idx) => {
@ -67,6 +69,8 @@
if (res) { if (res) {
toast.success($i18n.t('Server connection verified')); toast.success($i18n.t('Server connection verified'));
} }
await models.set(await getModels());
}; };
const updateOpenAIHandler = async () => { const updateOpenAIHandler = async () => {