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
540a669d
"...compression/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "588f299b3fb00290dd66716c8413f476162fe631"
Commit
540a669d
authored
Jul 12, 2024
by
Michael Poluektov
Browse files
feat: replace message event
parent
856845e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+2
-0
No files found.
src/lib/components/chat/Chat.svelte
View file @
540a669d
...
@@ -161,6 +161,8 @@
...
@@ -161,6 +161,8 @@
}
}
} else if (type === 'message') {
} else if (type === 'message') {
message.content += data.content;
message.content += data.content;
} else if (type === 'replace') {
message.content = data.content;
} else if (type === 'confirmation') {
} else if (type === 'confirmation') {
eventCallback = cb;
eventCallback = cb;
...
...
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