mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 16:22:44 +00:00
Merge pull request #1534 from lainedfles/ollama-pull-qol
feat: small change to support ollama pull QOL
This commit is contained in:
commit
b40054c54d
@ -139,7 +139,7 @@
|
||||
};
|
||||
|
||||
const pullModelHandler = async () => {
|
||||
const sanitizedModelTag = modelTag.trim();
|
||||
const sanitizedModelTag = modelTag.trim().replace(/^ollama\s+(run|pull)\s+/, '');
|
||||
if (modelDownloadStatus[sanitizedModelTag]) {
|
||||
toast.error(
|
||||
$i18n.t(`Model '{{modelTag}}' is already in queue for downloading.`, {
|
||||
|
Loading…
Reference in New Issue
Block a user