Update Selector.svelte

This commit is contained in:
Timothy J. Baek 2024-04-14 16:29:27 -04:00
parent 6238495d61
commit 91dda2401d

View file

@ -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]) {