mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
Update Selector.svelte
This commit is contained in:
parent
6238495d61
commit
91dda2401d
@ -33,7 +33,7 @@
|
||||
: items;
|
||||
|
||||
const pullModelHandler = async () => {
|
||||
const sanitizedModelTag = searchValue.trim();
|
||||
const sanitizedModelTag = searchValue.trim().replace(/^ollama\s+(run|pull)\s+/, '');
|
||||
|
||||
console.log($MODEL_DOWNLOAD_POOL);
|
||||
if ($MODEL_DOWNLOAD_POOL[sanitizedModelTag]) {
|
||||
|
Loading…
Reference in New Issue
Block a user