Commit 8b62d8ac authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: message wording

parent d12599b2
...@@ -314,11 +314,11 @@ ...@@ -314,11 +314,11 @@
const pullModelHandler = async () => { const pullModelHandler = async () => {
if (modelDownloadStatus[modelTag]) { if (modelDownloadStatus[modelTag]) {
toast.error('Model already in queue for downloading.'); toast.error(`Model '${modelTag}' is already in queue for downloading.`);
return; return;
} }
if (Object.keys(modelDownloadStatus).length === 3) { if (Object.keys(modelDownloadStatus).length === 3) {
toast.error('Maximum of 3 models can be downloading simultaneously. Please try again later'); toast.error('Maximum of 3 models can be downloaded simultaneously. Please try again later.');
return; return;
} }
...@@ -336,7 +336,7 @@ ...@@ -336,7 +336,7 @@
if (!data.success) { if (!data.success) {
toast.error(data.error); toast.error(data.error);
} else { } else {
toast.success(`Model ${modelName} was successfully downloaded`); toast.success(`Model '${modelName}' has been successfully downloaded.`);
const notification = new Notification(`Ollama`, { const notification = new Notification(`Ollama`, {
body: `Model '${modelName}' has been successfully downloaded.`, body: `Model '${modelName}' has been successfully downloaded.`,
......
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