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
91dda240
Commit
91dda240
authored
Apr 14, 2024
by
Timothy J. Baek
Browse files
Update Selector.svelte
parent
6238495d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/components/chat/ModelSelector/Selector.svelte
src/lib/components/chat/ModelSelector/Selector.svelte
+1
-1
No files found.
src/lib/components/chat/ModelSelector/Selector.svelte
View file @
91dda240
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
: items;
: items;
const pullModelHandler = async () => {
const pullModelHandler = async () => {
const sanitizedModelTag = searchValue.trim();
const sanitizedModelTag = searchValue.trim()
.replace(/^ollama\s+(run|pull)\s+/, '')
;
console.log($MODEL_DOWNLOAD_POOL);
console.log($MODEL_DOWNLOAD_POOL);
if ($MODEL_DOWNLOAD_POOL[sanitizedModelTag]) {
if ($MODEL_DOWNLOAD_POOL[sanitizedModelTag]) {
...
...
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