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
22503873
Commit
22503873
authored
Mar 02, 2024
by
Danny Liu
Browse files
retain the message in history object
parent
f9f3fe5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+0
-1
No files found.
src/lib/components/chat/Messages.svelte
View file @
22503873
...
@@ -230,7 +230,6 @@
...
@@ -230,7 +230,6 @@
history.messages[messageParentId].childrenIds = []
history.messages[messageParentId].childrenIds = []
}
}
delete history.messages[messageId];
history.currentId = messageParentId;
history.currentId = messageParentId;
await tick();
await tick();
...
...
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