Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
bdcfbfeb
Commit
bdcfbfeb
authored
Jun 01, 2024
by
Timothy J. Baek
Browse files
refac
parent
aa7fcca4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/lib/components/chat/Settings/Connections.svelte
src/lib/components/chat/Settings/Connections.svelte
+4
-0
No files found.
src/lib/components/chat/Settings/Connections.svelte
View file @
bdcfbfeb
...
@@ -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 () => {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment