Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
8b62d8ac
Commit
8b62d8ac
authored
Jan 06, 2024
by
Timothy J. Baek
Browse files
refac: message wording
parent
d12599b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/lib/components/chat/SettingsModal.svelte
src/lib/components/chat/SettingsModal.svelte
+3
-3
No files found.
src/lib/components/chat/SettingsModal.svelte
View file @
8b62d8ac
...
@@ -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 download
ing
simultaneously. Please try again later');
toast.error('Maximum of 3 models can be download
ed
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.`,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment