forked from open-webui/open-webui
Update Selector.svelte
This commit is contained in:
parent
6238495d61
commit
91dda2401d
1 changed files with 1 additions and 1 deletions
|
@ -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]) {
|
||||||
|
|
Loading…
Reference in a new issue