"ml/backend/git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "d223f3b697bbc4ff90f029db5fd52cd7ea6cc5bc"
Commit bdcfbfeb authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac

parent aa7fcca4
...@@ -54,6 +54,8 @@ ...@@ -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 @@ ...@@ -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 () => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment