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
cc9e2998
Commit
cc9e2998
authored
Dec 26, 2023
by
Timothy J. Baek
Browse files
fix: initNewChat
parent
8f2b691e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
run.sh
run.sh
+1
-1
src/routes/(app)/+page.svelte
src/routes/(app)/+page.svelte
+2
-0
No files found.
run.sh
View file @
cc9e2998
docker stop ollama-webui
||
true
docker stop ollama-webui
||
true
docker
rm
ollama-webui
||
true
docker
rm
ollama-webui
||
true
docker build
-t
ollama-webui
.
docker build
-t
ollama-webui
.
docker run
-d
-p
3000:8080
--add-host
=
host.docker.internal:host-gateway
-v
ollama-webui:/app
--name
ollama-webui
--restart
always ollama-webui
docker run
-d
-p
3000:8080
--add-host
=
host.docker.internal:host-gateway
-v
ollama-webui:/app
/backend
--name
ollama-webui
--restart
always ollama-webui
docker image prune
-f
docker image prune
-f
\ No newline at end of file
src/routes/(app)/+page.svelte
View file @
cc9e2998
...
@@ -64,6 +64,8 @@
...
@@ -64,6 +64,8 @@
//////////////////////////
//////////////////////////
const initNewChat = async () => {
const initNewChat = async () => {
window.history.replaceState(history.state, '', `/`);
console.log('initNewChat');
console.log('initNewChat');
await chatId.set('');
await chatId.set('');
...
...
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