forked from open-webui/open-webui
refac: message wording
This commit is contained in:
parent
d12599b2ae
commit
8b62d8ac8f
1 changed files with 3 additions and 3 deletions
|
@ -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 @@
|
||||||
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.`,
|
||||||
|
|
Loading…
Reference in a new issue