"...resnet50_tensorflow.git" did not exist on "423b506a860714ca1368f7eb37aa07fbd0472621"
Unverified Commit b40054c5 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #1534 from lainedfles/ollama-pull-qol

feat: small change to support ollama pull QOL
parents 8e30948d 922628c1
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
}; };
const pullModelHandler = async () => { const pullModelHandler = async () => {
const sanitizedModelTag = modelTag.trim(); const sanitizedModelTag = modelTag.trim().replace(/^ollama\s+(run|pull)\s+/, '');
if (modelDownloadStatus[sanitizedModelTag]) { if (modelDownloadStatus[sanitizedModelTag]) {
toast.error( toast.error(
$i18n.t(`Model '{{modelTag}}' is already in queue for downloading.`, { $i18n.t(`Model '{{modelTag}}' is already in queue for downloading.`, {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment