mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
refac
This commit is contained in:
parent
aa7fcca4ee
commit
bdcfbfeb11
@ -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 () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user