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
2558997c
Commit
2558997c
authored
Nov 22, 2023
by
Timothy J. Baek
Browse files
fix: infinite toast error
parent
ebddb8e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
compose.yaml
compose.yaml
+9
-9
src/lib/components/chat/SettingsModal.svelte
src/lib/components/chat/SettingsModal.svelte
+1
-1
No files found.
compose.yaml
View file @
2558997c
...
@@ -22,14 +22,14 @@ services:
...
@@ -22,14 +22,14 @@ services:
restart
:
unless-stopped
restart
:
unless-stopped
image
:
ollama/ollama:latest
image
:
ollama/ollama:latest
ollama-webui-db
:
#
ollama-webui-db:
image
:
mongo
#
image: mongo
container_name
:
ollama-webui-db
#
container_name: ollama-webui-db
restart
:
always
#
restart: always
# Make sure to change the username/password!
#
# Make sure to change the username/password!
environment
:
#
environment:
MONGO_INITDB_ROOT_USERNAME
:
root
#
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD
:
example
#
MONGO_INITDB_ROOT_PASSWORD: example
ollama-webui
:
ollama-webui
:
build
:
build
:
...
@@ -41,7 +41,7 @@ services:
...
@@ -41,7 +41,7 @@ services:
container_name
:
ollama-webui
container_name
:
ollama-webui
depends_on
:
depends_on
:
-
ollama
-
ollama
-
ollama-webui-db
#
- ollama-webui-db
ports
:
ports
:
-
3000:8080
-
3000:8080
environment
:
environment
:
...
...
src/lib/components/chat/SettingsModal.svelte
View file @
2558997c
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
throw data.detail;
throw data.detail;
}
}
if (data.status) {
if (data.status) {
if (!data.
status.includes('downloading')
) {
if (!data.
digest
) {
toast.success(data.status);
toast.success(data.status);
} else {
} else {
digest = data.digest;
digest = data.digest;
...
...
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